Package de.hybris.bootstrap.typesystem
Class YCollectionType
java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
de.hybris.bootstrap.typesystem.YTypeSystemElement
de.hybris.bootstrap.typesystem.YType
de.hybris.bootstrap.typesystem.YCollectionType
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionYCollectionType(YNamespace container, String code, String elementTypeCode, YCollectionType.TypeOfCollection toc) -
Method Summary
Modifier and TypeMethodDescriptionbooleanprotected StringinthashCode()booleanisAssignableFrom(YType type) Tests whether this collection type is assignable from another collection type.voidvalidate()Validates the element.Methods inherited from class de.hybris.bootstrap.typesystem.YType
getCode, getDefaultValueDefinition, setDefaultValueDefinition, toStringMethods inherited from class de.hybris.bootstrap.typesystem.YTypeSystemElement
addCustomProperties, addCustomProperty, getCustomProps, getMetaType, getMetaTypeCode, isAutocreate, isGenerate, resetCaches, setAutocreate, setGenerate, setMetaTypeCodeMethods inherited from class de.hybris.bootstrap.typesystem.YNameSpaceElement
getLoaderInfo, getNamespace, getTypeSystem, setLoaderInfo
-
Constructor Details
-
YCollectionType
public YCollectionType(YNamespace container, String code, String elementTypeCode, YCollectionType.TypeOfCollection toc)
-
-
Method Details
-
getDefaultMetaTypeCode
- Specified by:
getDefaultMetaTypeCodein classYTypeSystemElement
-
validate
public void validate()Description copied from class:YNameSpaceElementValidates the element. This should check whether or not lazy references can be resolved or any data is missing. -
getElementTypeCode
-
getTypeOfCollection
-
getElementType
-
getJavaClassName
- Specified by:
getJavaClassNamein classYType
-
isAssignableFrom
Tests whether this collection type is assignable from another collection type. This is only true if this type's element type is assignable from the other collection type's element type and the type of collections are assignable.- Specified by:
isAssignableFromin classYType
-
equals
-
hashCode
public int hashCode()
-