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:
java.io.Serializable
public class CommentMetadataModel extends ItemModel
Generated model class for type CommentMetadata first defined at extension cockpit.- 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_COMMENTTOCOMMENTMETADATAGenerated relation code constant for relationCommentToCommentMetadatadefining source attributecommentin extensioncockpit.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringCOMMENTGenerated constant - Attribute key ofCommentMetadata.commentattribute defined at extensioncockpit.static java.lang.StringITEMGenerated constant - Attribute key ofCommentMetadata.itemattribute defined at extensioncockpit.static java.lang.StringPAGEINDEXGenerated constant - Attribute key ofCommentMetadata.pageIndexattribute defined at extensioncockpit.static java.lang.StringXGenerated constant - Attribute key ofCommentMetadata.xattribute defined at extensioncockpit.static java.lang.StringYGenerated 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, SEALED
-
Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
-
-
Constructor Summary
Constructors Constructor Description CommentMetadataModel()Generated 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 parametersCommentMetadataModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommentModelgetComment()Generated method - Getter of theCommentMetadata.commentattribute defined at extensioncockpit.ItemModelgetItem()Generated method - Getter of theCommentMetadata.itemattribute defined at extensioncockpit.java.lang.IntegergetPageIndex()Generated method - Getter of theCommentMetadata.pageIndexattribute defined at extensioncockpit.java.lang.IntegergetX()Generated method - Getter of theCommentMetadata.xattribute defined at extensioncockpit.java.lang.IntegergetY()Generated method - Getter of theCommentMetadata.yattribute defined at extensioncockpit.voidsetComment(CommentModel value)Generated method - Initial setter ofCommentMetadata.commentattribute defined at extensioncockpit.voidsetItem(ItemModel value)Generated method - Setter ofCommentMetadata.itemattribute defined at extensioncockpit.voidsetPageIndex(java.lang.Integer value)Generated method - Setter ofCommentMetadata.pageIndexattribute defined at extensioncockpit.voidsetX(java.lang.Integer value)Generated method - Setter ofCommentMetadata.xattribute defined at extensioncockpit.voidsetY(java.lang.Integer value)Generated 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, 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
-
_COMMENTTOCOMMENTMETADATA
public static final java.lang.String _COMMENTTOCOMMENTMETADATA
Generated relation code constant for relationCommentToCommentMetadatadefining source attributecommentin extensioncockpit.- See Also:
- Constant Field Values
-
X
public static final java.lang.String X
Generated constant - Attribute key ofCommentMetadata.xattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
Y
public static final java.lang.String Y
Generated constant - Attribute key ofCommentMetadata.yattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
PAGEINDEX
public static final java.lang.String PAGEINDEX
Generated constant - Attribute key ofCommentMetadata.pageIndexattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofCommentMetadata.itemattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Generated constant - Attribute key ofCommentMetadata.commentattribute defined at extensioncockpit.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommentMetadataModel
public CommentMetadataModel()
Generated constructor - Default constructor for generic creation.
-
CommentMetadataModel
public CommentMetadataModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CommentMetadataModel
@Deprecated(since="4.1.1", forRemoval=true) public 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 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 Detail
-
getComment
@Accessor(qualifier="comment", type=GETTER) public CommentModel getComment()
Generated method - Getter of theCommentMetadata.commentattribute defined at extensioncockpit.- Returns:
- the comment
-
getItem
@Accessor(qualifier="item", type=GETTER) public ItemModel getItem()
Generated method - Getter of theCommentMetadata.itemattribute defined at extensioncockpit.- Returns:
- the item
-
getPageIndex
@Accessor(qualifier="pageIndex", type=GETTER) public java.lang.Integer getPageIndex()
Generated method - Getter of theCommentMetadata.pageIndexattribute defined at extensioncockpit.- Returns:
- the pageIndex
-
getX
@Accessor(qualifier="x", type=GETTER) public java.lang.Integer getX()
Generated method - Getter of theCommentMetadata.xattribute defined at extensioncockpit.- Returns:
- the x
-
getY
@Accessor(qualifier="y", type=GETTER) public java.lang.Integer getY()
Generated method - Getter of theCommentMetadata.yattribute defined at extensioncockpit.- Returns:
- the y
-
setComment
@Accessor(qualifier="comment", type=SETTER) public void setComment(CommentModel value)
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
@Accessor(qualifier="item", type=SETTER) public void setItem(ItemModel value)
Generated method - Setter ofCommentMetadata.itemattribute defined at extensioncockpit.- Parameters:
value- the item
-
setPageIndex
@Accessor(qualifier="pageIndex", type=SETTER) public void setPageIndex(java.lang.Integer value)
Generated method - Setter ofCommentMetadata.pageIndexattribute defined at extensioncockpit.- Parameters:
value- the pageIndex
-
setX
@Accessor(qualifier="x", type=SETTER) public void setX(java.lang.Integer value)
Generated method - Setter ofCommentMetadata.xattribute defined at extensioncockpit.- Parameters:
value- the x
-
-