Class CommentTypeModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.comments.model.CommentTypeModel
- All Implemented Interfaces:
Serializable
Generated model class for type CommentType first defined at extension comments.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCommentCommentTypeRelationdefining source attributecommentin extensioncomments.static final StringGenerated relation code constant for relationDomainCommentTypeRelationdefining source attributedomainin extensioncomments.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCommentType.codeattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentType.commentattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentType.domainattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentType.metaTypeattribute defined at extensioncomments.static final StringGenerated constant - Attribute key ofCommentType.nameattribute defined at extensioncomments.Fields 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.CommentTypeModel(DomainModel _domain) 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 - Default constructor for creation with existing contextCommentTypeModel(String _code, DomainModel _domain, ItemModel _owner) 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
Modifier and TypeMethodDescriptiongetCode()Generated method - Getter of theCommentType.codeattribute defined at extensioncomments.Generated method - Getter of theCommentType.domainattribute defined at extensioncomments.Generated method - Getter of theCommentType.metaTypeattribute defined at extensioncomments.getName()Generated method - Getter of theCommentType.nameattribute defined at extensioncomments.voidGenerated method - Initial setter ofCommentType.codeattribute defined at extensioncomments.voidsetDomain(DomainModel value) Generated method - Initial setter ofCommentType.domainattribute defined at extensioncomments.voidsetMetaType(ComposedTypeModel value) Generated method - Setter ofCommentType.metaTypeattribute defined at extensioncomments.voidGenerated method - Setter ofCommentType.nameattribute defined at extensioncomments.Methods 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:
-
_DOMAINCOMMENTTYPERELATION
Generated relation code constant for relationDomainCommentTypeRelationdefining source attributedomainin extensioncomments.- See Also:
-
_COMMENTCOMMENTTYPERELATION
Generated relation code constant for relationCommentCommentTypeRelationdefining source attributecommentin extensioncomments.- See Also:
-
CODE
Generated constant - Attribute key ofCommentType.codeattribute defined at extensioncomments.- See Also:
-
NAME
Generated constant - Attribute key ofCommentType.nameattribute defined at extensioncomments.- See Also:
-
METATYPE
Generated constant - Attribute key ofCommentType.metaTypeattribute defined at extensioncomments.- See Also:
-
DOMAIN
Generated constant - Attribute key ofCommentType.domainattribute defined at extensioncomments.- See Also:
-
COMMENT
Generated constant - Attribute key ofCommentType.commentattribute defined at extensioncomments.- See Also:
-
-
Constructor Details
-
CommentTypeModel
public CommentTypeModel()Generated constructor - Default constructor for generic creation. -
CommentTypeModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CommentTypeModel
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:
_domain- initial attribute declared by typeCommentTypeat extensioncomments
-
CommentTypeModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentTypeModel(String _code, DomainModel _domain, ItemModel _owner) 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:
_code- initial attribute declared by typeCommentTypeat extensioncomments_domain- initial attribute declared by typeCommentTypeat extensioncomments_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCode
Generated method - Getter of theCommentType.codeattribute defined at extensioncomments.- Returns:
- the code - unique identifier of the comment type within domain
-
getDomain
Generated method - Getter of theCommentType.domainattribute defined at extensioncomments.- Returns:
- the domain
-
getMetaType
Generated method - Getter of theCommentType.metaTypeattribute defined at extensioncomments.- Returns:
- the metaType
-
getName
Generated method - Getter of theCommentType.nameattribute defined at extensioncomments.- Returns:
- the name
-
setCode
Generated method - Initial setter ofCommentType.codeattribute defined at extensioncomments. Can only be used at creation of model - before first save.- Parameters:
value- the code - unique identifier of the comment type within domain
-
setDomain
Generated method - Initial setter ofCommentType.domainattribute defined at extensioncomments. Can only be used at creation of model - before first save.- Parameters:
value- the domain
-
setMetaType
Generated method - Setter ofCommentType.metaTypeattribute defined at extensioncomments.- Parameters:
value- the metaType
-
setName
Generated method - Setter ofCommentType.nameattribute defined at extensioncomments.- Parameters:
value- the name
-