Class DescriptorModel
- 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.DescriptorModel
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AttributeDescriptorModel
public class DescriptorModel extends TypeManagerManagedModel
Generated model class for type Descriptor 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.StringATTRIBUTETYPEGenerated constant - Attribute key ofDescriptor.attributeTypeattribute defined at extensioncore.static java.lang.StringQUALIFIERGenerated constant - Attribute key ofDescriptor.qualifierattribute defined at extensioncore.-
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 DescriptorModel()Generated constructor - Default constructor for generic creation.DescriptorModel(TypeModel _attributeType, java.lang.Boolean _generate, ItemModel _owner, java.lang.String _qualifier)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDescriptorModel(TypeModel _attributeType, java.lang.Boolean _generate, java.lang.String _qualifier)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersDescriptorModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeModelgetAttributeType()Generated method - Getter of theDescriptor.attributeTypeattribute defined at extensioncore.java.lang.StringgetQualifier()Generated method - Getter of theDescriptor.qualifierattribute defined at extensioncore.voidsetAttributeType(TypeModel value)Generated method - Setter ofDescriptor.attributeTypeattribute defined at extensioncore.voidsetQualifier(java.lang.String value)Generated method - Initial setter ofDescriptor.qualifierattribute defined at extensioncore.-
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
-
QUALIFIER
public static final java.lang.String QUALIFIER
Generated constant - Attribute key ofDescriptor.qualifierattribute defined at extensioncore.- See Also:
- Constant Field Values
-
ATTRIBUTETYPE
public static final java.lang.String ATTRIBUTETYPE
Generated constant - Attribute key ofDescriptor.attributeTypeattribute defined at extensioncore.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DescriptorModel
public DescriptorModel()
Generated constructor - Default constructor for generic creation.
-
DescriptorModel
public DescriptorModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
DescriptorModel
@Deprecated(since="4.1.1", forRemoval=true) public DescriptorModel(TypeModel _attributeType, java.lang.Boolean _generate, java.lang.String _qualifier)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:
_attributeType- initial attribute declared by typeDescriptorat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_qualifier- initial attribute declared by typeDescriptorat extensioncore
-
DescriptorModel
@Deprecated(since="4.1.1", forRemoval=true) public DescriptorModel(TypeModel _attributeType, java.lang.Boolean _generate, ItemModel _owner, java.lang.String _qualifier)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:
_attributeType- initial attribute declared by typeDescriptorat extensioncore_generate- initial attribute declared by typeTypeManagerManagedat extensioncore_owner- initial attribute declared by typeItemat extensioncore_qualifier- initial attribute declared by typeDescriptorat extensioncore
-
-
Method Detail
-
getAttributeType
@Accessor(qualifier="attributeType", type=GETTER) public TypeModel getAttributeType()
Generated method - Getter of theDescriptor.attributeTypeattribute defined at extensioncore.- Returns:
- the attributeType
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theDescriptor.qualifierattribute defined at extensioncore.- Returns:
- the qualifier
-
setAttributeType
@Accessor(qualifier="attributeType", type=SETTER) public void setAttributeType(TypeModel value)
Generated method - Setter ofDescriptor.attributeTypeattribute defined at extensioncore.- Parameters:
value- the attributeType
-
-