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:
Serializable
- Direct Known Subclasses:
AttributeDescriptorModel
Generated model class for type Descriptor first defined at extension core.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofDescriptor.attributeTypeattribute defined at extensioncore.static final StringGenerated constant - Attribute key ofDescriptor.qualifierattribute defined at extensioncore.Fields inherited from class de.hybris.platform.core.model.type.TypeManagerManagedModel
AUTOCREATE, DEPRECATED, EXTENSIONNAME, GENERATE, NAMEFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.DescriptorModel(TypeModel _attributeType, Boolean _generate, ItemModel _owner, 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, Boolean _generate, 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theDescriptor.attributeTypeattribute defined at extensioncore.Generated method - Getter of theDescriptor.qualifierattribute defined at extensioncore.voidsetAttributeType(TypeModel value) Generated method - Setter ofDescriptor.attributeTypeattribute defined at extensioncore.voidsetQualifier(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, setNameMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
QUALIFIER
Generated constant - Attribute key ofDescriptor.qualifierattribute defined at extensioncore.- See Also:
-
ATTRIBUTETYPE
Generated constant - Attribute key ofDescriptor.attributeTypeattribute defined at extensioncore.- See Also:
-
-
Constructor Details
-
DescriptorModel
public DescriptorModel()Generated constructor - Default constructor for generic creation. -
DescriptorModel
public DescriptorModel(de.hybris.platform.servicelayer.model.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, Boolean _generate, 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, Boolean _generate, ItemModel _owner, 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 Details
-
getAttributeType
Generated method - Getter of theDescriptor.attributeTypeattribute defined at extensioncore.- Returns:
- the attributeType
-
getQualifier
Generated method - Getter of theDescriptor.qualifierattribute defined at extensioncore.- Returns:
- the qualifier
-
setAttributeType
Generated method - Setter ofDescriptor.attributeTypeattribute defined at extensioncore.- Parameters:
value- the attributeType
-
setQualifier
Generated method - Initial setter ofDescriptor.qualifierattribute defined at extensioncore. Can only be used at creation of model - before first save.- Parameters:
value- the qualifier
-