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
_TYPECODE
Generated model type code constant.static java.lang.String
ATTRIBUTETYPE
Generated constant - Attribute key ofDescriptor.attributeType
attribute defined at extensioncore
.static java.lang.String
QUALIFIER
Generated constant - Attribute key ofDescriptor.qualifier
attribute 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 TypeModel
getAttributeType()
Generated method - Getter of theDescriptor.attributeType
attribute defined at extensioncore
.java.lang.String
getQualifier()
Generated method - Getter of theDescriptor.qualifier
attribute defined at extensioncore
.void
setAttributeType(TypeModel value)
Generated method - Setter ofDescriptor.attributeType
attribute defined at extensioncore
.void
setQualifier(java.lang.String value)
Generated method - Initial setter ofDescriptor.qualifier
attribute 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.qualifier
attribute defined at extensioncore
.- See Also:
- Constant Field Values
-
ATTRIBUTETYPE
public static final java.lang.String ATTRIBUTETYPE
Generated constant - Attribute key ofDescriptor.attributeType
attribute 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 typeDescriptor
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_qualifier
- initial attribute declared by typeDescriptor
at 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 typeDescriptor
at extensioncore
_generate
- initial attribute declared by typeTypeManagerManaged
at extensioncore
_owner
- initial attribute declared by typeItem
at extensioncore
_qualifier
- initial attribute declared by typeDescriptor
at extensioncore
-
-
Method Detail
-
getAttributeType
@Accessor(qualifier="attributeType", type=GETTER) public TypeModel getAttributeType()
Generated method - Getter of theDescriptor.attributeType
attribute defined at extensioncore
.- Returns:
- the attributeType
-
getQualifier
@Accessor(qualifier="qualifier", type=GETTER) public java.lang.String getQualifier()
Generated method - Getter of theDescriptor.qualifier
attribute defined at extensioncore
.- Returns:
- the qualifier
-
setAttributeType
@Accessor(qualifier="attributeType", type=SETTER) public void setAttributeType(TypeModel value)
Generated method - Setter ofDescriptor.attributeType
attribute defined at extensioncore
.- Parameters:
value
- the attributeType
-
-