Class EnumerationMetaTypeModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.core.model.type.TypeManagerManagedModel
-
- de.hybris.platform.core.model.type.TypeModel
-
- de.hybris.platform.core.model.type.ComposedTypeModel
-
- de.hybris.platform.core.model.enumeration.EnumerationMetaTypeModel
-
- All Implemented Interfaces:
java.io.Serializable
public class EnumerationMetaTypeModel extends ComposedTypeModel
Generated model class for type EnumerationMetaType first defined at extension core.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMPARATIONATTRIBUTEGenerated constant - Attribute key ofEnumerationMetaType.comparationAttributeattribute defined at extensioncore.static java.lang.StringISRESORTABLEGenerated constant - Attribute key ofEnumerationMetaType.isResortableattribute defined at extensioncore.static java.lang.StringISSORTEDGenerated constant - Attribute key ofEnumerationMetaType.isSortedattribute defined at extensioncore.static java.lang.StringVALUESGenerated constant - Attribute key ofEnumerationMetaType.valuesattribute defined at extensioncore.static java.lang.StringVALUETYPEGenerated constant - Attribute key ofEnumerationMetaType.valueTypeattribute defined at extensioncore.-
Fields inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
_COCKPITITEMTEMPLATE2COMPOSEDTYPERELATION, _CONSTRAINTCOMPOSITETYPERELATION, _FORMAT2COMTYPREL, _STREAMCONFIGURATIONEXCLUDEDSUBTYPES, _SYNCJOB2TYPEREL, ABSTRACT, ALLSUBTYPES, ALLSUPERTYPES, ATTRIBUTEDESCRIPTORS, CATALOGITEMTYPE, CATALOGVERSIONATTRIBUTE, CATALOGVERSIONATTRIBUTEQUALIFIER, COCKPITITEMTEMPLATES, CONSTRAINTS, DECLAREDATTRIBUTEDESCRIPTORS, DUMPPROPERTYTABLE, DYNAMIC, FORMATS, INHERITANCEPATHSTRING, INHERITEDATTRIBUTEDESCRIPTORS, JALOCLASS, JALOONLY, JNDINAME, LEGACYPERSISTENCE, SINGLETON, STREAMCONFIGURATIONS, SUBTYPES, SUPERTYPE, SYNCJOBS, SYSTEMTYPE, TABLE, UNIQUEKEYATTRIBUTEQUALIFIER, UNIQUEKEYATTRIBUTES
-
Fields inherited from class de.hybris.platform.core.model.type.TypeModel
CODE, DEFAULTVALUE, DESCRIPTION, XMLDEFINITION
-
Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAME
-
Fields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description EnumerationMetaTypeModel()Generated constructor - Default constructor for generic creation.EnumerationMetaTypeModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextEnumerationMetaTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _singleton, ComposedTypeModel _superType, ComposedTypeModel _valueType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersEnumerationMetaTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, java.lang.Boolean _singleton, ComposedTypeModel _superType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDescriptorModelgetComparationAttribute()Generated method - Getter of theEnumerationMetaType.comparationAttributeattribute defined at extensioncore.java.lang.BooleangetIsResortable()Generated method - Getter of theEnumerationMetaType.isResortableattribute defined at extensioncore.java.lang.BooleangetIsSorted()Generated method - Getter of theEnumerationMetaType.isSortedattribute defined at extensioncore.java.util.Collection<ItemModel>getValues()Generated method - Getter of theEnumerationMetaType.valuesattribute defined at extensioncore.ComposedTypeModelgetValueType()Generated method - Getter of theEnumerationMetaType.valueTypeattribute defined at extensioncore.voidsetComparationAttribute(AttributeDescriptorModel value)Generated method - Setter ofEnumerationMetaType.comparationAttributeattribute defined at extensioncore.voidsetValues(java.util.Collection<ItemModel> value)Generated method - Setter ofEnumerationMetaType.valuesattribute defined at extensioncore.voidsetValueType(ComposedTypeModel value)Generated method - Initial setter ofEnumerationMetaType.valueTypeattribute defined at extensioncore.-
Methods inherited from class de.hybris.platform.core.model.type.ComposedTypeModel
getAbstract, getAllSubTypes, getAllSuperTypes, getCatalogItemType, getCatalogVersionAttribute, getCockpitItemTemplates, getConstraints, getDeclaredattributedescriptors, getDumpPropertyTable, getDynamic, getFormats, getInheritedattributedescriptors, getJaloclass, getJaloonly, getJndiName, getLegacyPersistence, getSingleton, getStreamConfigurations, getSubtypes, getSuperType, getSystemType, getTable, getUniqueKeyAttributes, setCatalogItemType, setCatalogVersionAttribute, setCockpitItemTemplates, setConstraints, setDeclaredattributedescriptors, setFormats, setJaloclass, setJaloonly, setLegacyPersistence, setSingleton, setStreamConfigurations, setSuperType, setSystemType, setUniqueKeyAttributes
-
Methods inherited from class de.hybris.platform.core.model.type.TypeModel
getCode, getDefaultValue, getDescription, getDescription, getXmldefinition, setCode, setDefaultValue, setDescription, setDescription
-
Methods inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
getAutocreate, getDeprecated, getExtensionName, getGenerate, getName, getName, setAutocreate, setExtensionName, setGenerate, setName, setName
-
Methods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner
-
Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
-
-
-
-
Field Detail
-
_TYPECODE
public static final java.lang.String _TYPECODE
Generated model type code constant.- See Also:
- Constant Field Values
-
COMPARATIONATTRIBUTE
public static final java.lang.String COMPARATIONATTRIBUTE
Generated constant - Attribute key ofEnumerationMetaType.comparationAttributeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
VALUES
public static final java.lang.String VALUES
Generated constant - Attribute key ofEnumerationMetaType.valuesattribute defined at extensioncore.- See Also:
- Constant Field Values
-
VALUETYPE
public static final java.lang.String VALUETYPE
Generated constant - Attribute key ofEnumerationMetaType.valueTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ISSORTED
public static final java.lang.String ISSORTED
Generated constant - Attribute key ofEnumerationMetaType.isSortedattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ISRESORTABLE
public static final java.lang.String ISRESORTABLE
Generated constant - Attribute key ofEnumerationMetaType.isResortableattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EnumerationMetaTypeModel
public EnumerationMetaTypeModel()
Generated constructor - Default constructor for generic creation.
-
EnumerationMetaTypeModel
public EnumerationMetaTypeModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
EnumerationMetaTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public EnumerationMetaTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, java.lang.Boolean _singleton, ComposedTypeModel _superType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogItemType- initial attribute declared by typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeEnumerationMetaTypeat extensioncore
-
EnumerationMetaTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public EnumerationMetaTypeModel(java.lang.Boolean _catalogItemType, java.lang.String _code, java.lang.Boolean _generate, ItemModel _owner, java.lang.Boolean _singleton, ComposedTypeModel _superType, ComposedTypeModel _valueType)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogItemType- initial attribute declared by typeComposedTypeat extensioncatalog_code- initial attribute declared by typeTypeat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_singleton- initial attribute declared by typeComposedTypeat extensioncore_superType- initial attribute declared by typeEnumerationMetaTypeat extensioncore_valueType- initial attribute declared by typeEnumerationMetaTypeat extensioncore
-
-
Method Detail
-
getComparationAttribute
@Accessor(qualifier="comparationAttribute", type=GETTER) public AttributeDescriptorModel getComparationAttribute()
Generated method - Getter of theEnumerationMetaType.comparationAttributeattribute defined at extensioncore.- Returns:
- the comparationAttribute
-
getIsResortable
@Accessor(qualifier="isResortable", type=GETTER) public java.lang.Boolean getIsResortable()
Generated method - Getter of theEnumerationMetaType.isResortableattribute defined at extensioncore.- Returns:
- the isResortable
-
getIsSorted
@Accessor(qualifier="isSorted", type=GETTER) public java.lang.Boolean getIsSorted()
Generated method - Getter of theEnumerationMetaType.isSortedattribute defined at extensioncore.- Returns:
- the isSorted
-
getValues
@Accessor(qualifier="values", type=GETTER) public java.util.Collection<ItemModel> getValues()
Generated method - Getter of theEnumerationMetaType.valuesattribute defined at extensioncore. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the values
-
getValueType
@Accessor(qualifier="valueType", type=GETTER) public ComposedTypeModel getValueType()
Generated method - Getter of theEnumerationMetaType.valueTypeattribute defined at extensioncore.- Returns:
- the valueType
-
setComparationAttribute
@Accessor(qualifier="comparationAttribute", type=SETTER) public void setComparationAttribute(AttributeDescriptorModel value)
Generated method - Setter ofEnumerationMetaType.comparationAttributeattribute defined at extensioncore.- Parameters:
value- the comparationAttribute
-
setValues
@Accessor(qualifier="values", type=SETTER) public void setValues(java.util.Collection<ItemModel> value)
Generated method - Setter ofEnumerationMetaType.valuesattribute defined at extensioncore.- Parameters:
value- the values
-
setValueType
@Accessor(qualifier="valueType", type=SETTER) public void setValueType(ComposedTypeModel value)
Generated method - Initial setter ofEnumerationMetaType.valueTypeattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the valueType
-
-