Class DefaultCollectionDescriptor
- java.lang.Object
-
- de.hybris.platform.integrationservices.model.impl.DefaultCollectionDescriptor
-
- All Implemented Interfaces:
CollectionDescriptor
public class DefaultCollectionDescriptor extends java.lang.Object implements CollectionDescriptor
Default implementation of theCollectionDescriptor. If the underlying attribute is not of typeCollectionTypeModel, this implementation does not consider the attribute as a collection. Therefore, the new collection will be null.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CollectionDescriptorcreate(AttributeDescriptorModel attribute)booleanequals(java.lang.Object other)inthashCode()java.util.Collection<java.lang.Object>newCollection()Gets a new collection instance that is described by the underlying attributejava.lang.StringtoString()
-
-
-
Method Detail
-
create
public static CollectionDescriptor create(AttributeDescriptorModel attribute)
-
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
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-