Class ClassificationCollectionDescriptor
- java.lang.Object
-
- de.hybris.platform.integrationservices.model.impl.ClassificationCollectionDescriptor
-
- All Implemented Interfaces:
CollectionDescriptor
public class ClassificationCollectionDescriptor extends java.lang.Object implements CollectionDescriptor
Implementation of theCollectionDescriptorrelating to classification attributes. If the underlying attribute is not ofmultivalued, this implementation does not consider the attribute as a collection. Therefore, the new collection will be null. If the attribute is multivalued, an emptyListwill be returned since multivalued classification attributes are always stored in a List
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollectionDescriptorcreate(ClassAttributeAssignmentModel classAttributeAssignment)java.util.Collection<java.lang.Object>newCollection()Gets a new collection instance that is described by the underlying attribute
-
-
-
Method Detail
-
create
public static CollectionDescriptor create(ClassAttributeAssignmentModel classAttributeAssignment)
-
newCollection
public java.util.Collection<java.lang.Object> newCollection()
Description copied from interface:CollectionDescriptorGets a new collection instance that is described by the underlying attribute- Specified by:
newCollectionin interfaceCollectionDescriptor- Returns:
- A new collection instance that is empty
-
-