Package de.hybris.bootstrap.typesystem
Class YEnumValue
java.lang.Object
de.hybris.bootstrap.typesystem.YNameSpaceElement
de.hybris.bootstrap.typesystem.YTypeSystemElement
de.hybris.bootstrap.typesystem.YEnumValue
- All Implemented Interfaces:
Comparable<YEnumValue>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(YEnumValue enumValue) getCode()protected StringintbooleanvoidsetDefault(boolean isDefault) voidsetDescription(String description) voidsetPosition(int position) voidvalidate()Validates the element.Methods 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, toString
-
Constructor Details
-
YEnumValue
-
-
Method Details
-
getCode
-
getEnumTypeCode
-
getEnumType
-
isDefault
public boolean isDefault() -
setDefault
public void setDefault(boolean isDefault) -
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
compareTo
- Specified by:
compareToin interfaceComparable<YEnumValue>
-
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.- Overrides:
validatein classYTypeSystemElement
-
getDescription
-
setDescription
-