Package de.hybris.platform.cockpit.model
Class CommentMetadataModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.cockpit.model.CommentMetadataModel
- All Implemented Interfaces:
Serializable
Generated model class for type CommentMetadata first defined at extension cockpit.
- 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 relationCommentToCommentMetadatadefining source attributecommentin extensioncockpit.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCommentMetadata.commentattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCommentMetadata.itemattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCommentMetadata.pageIndexattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCommentMetadata.xattribute defined at extensioncockpit.static final StringGenerated constant - Attribute key ofCommentMetadata.yattribute defined at extensioncockpit.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.CommentMetadataModel(CommentModel _comment) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCommentMetadataModel(CommentModel _comment, 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 - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCommentMetadata.commentattribute defined at extensioncockpit.getItem()Generated method - Getter of theCommentMetadata.itemattribute defined at extensioncockpit.Generated method - Getter of theCommentMetadata.pageIndexattribute defined at extensioncockpit.getX()Generated method - Getter of theCommentMetadata.xattribute defined at extensioncockpit.getY()Generated method - Getter of theCommentMetadata.yattribute defined at extensioncockpit.voidsetComment(CommentModel value) Generated method - Initial setter ofCommentMetadata.commentattribute defined at extensioncockpit.voidGenerated method - Setter ofCommentMetadata.itemattribute defined at extensioncockpit.voidsetPageIndex(Integer value) Generated method - Setter ofCommentMetadata.pageIndexattribute defined at extensioncockpit.voidGenerated method - Setter ofCommentMetadata.xattribute defined at extensioncockpit.voidGenerated method - Setter ofCommentMetadata.yattribute defined at extensioncockpit.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:
-
_COMMENTTOCOMMENTMETADATA
Generated relation code constant for relationCommentToCommentMetadatadefining source attributecommentin extensioncockpit.- See Also:
-
X
Generated constant - Attribute key ofCommentMetadata.xattribute defined at extensioncockpit.- See Also:
-
Y
Generated constant - Attribute key ofCommentMetadata.yattribute defined at extensioncockpit.- See Also:
-
PAGEINDEX
Generated constant - Attribute key ofCommentMetadata.pageIndexattribute defined at extensioncockpit.- See Also:
-
ITEM
Generated constant - Attribute key ofCommentMetadata.itemattribute defined at extensioncockpit.- See Also:
-
COMMENT
Generated constant - Attribute key ofCommentMetadata.commentattribute defined at extensioncockpit.- See Also:
-
-
Constructor Details
-
CommentMetadataModel
public CommentMetadataModel()Generated constructor - Default constructor for generic creation. -
CommentMetadataModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CommentMetadataModel
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:
_comment- initial attribute declared by typeCommentMetadataat extensioncockpit
-
CommentMetadataModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentMetadataModel(CommentModel _comment, 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:
_comment- initial attribute declared by typeCommentMetadataat extensioncockpit_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getComment
Generated method - Getter of theCommentMetadata.commentattribute defined at extensioncockpit.- Returns:
- the comment
-
getItem
Generated method - Getter of theCommentMetadata.itemattribute defined at extensioncockpit.- Returns:
- the item
-
getPageIndex
Generated method - Getter of theCommentMetadata.pageIndexattribute defined at extensioncockpit.- Returns:
- the pageIndex
-
getX
Generated method - Getter of theCommentMetadata.xattribute defined at extensioncockpit.- Returns:
- the x
-
getY
Generated method - Getter of theCommentMetadata.yattribute defined at extensioncockpit.- Returns:
- the y
-
setComment
Generated method - Initial setter ofCommentMetadata.commentattribute defined at extensioncockpit. Can only be used at creation of model - before first save.- Parameters:
value- the comment
-
setItem
Generated method - Setter ofCommentMetadata.itemattribute defined at extensioncockpit.- Parameters:
value- the item
-
setPageIndex
Generated method - Setter ofCommentMetadata.pageIndexattribute defined at extensioncockpit.- Parameters:
value- the pageIndex
-
setX
Generated method - Setter ofCommentMetadata.xattribute defined at extensioncockpit.- Parameters:
value- the x
-
setY
Generated method - Setter ofCommentMetadata.yattribute defined at extensioncockpit.- Parameters:
value- the y
-