Class CommentAttachmentModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.comments.model.CommentAttachmentModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CommentAttachmentModel extends ItemModel
Generated model class for type CommentAttachment first defined at extension comments.- 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_ABSTRACTCOMMENTATTACHMENTRELATIONGenerated relation code constant for relationAbstractCommentAttachmentRelationdefining source attributeabstractCommentin extensioncomments.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringABSTRACTCOMMENTGenerated constant - Attribute key ofCommentAttachment.abstractCommentattribute defined at extensioncomments.static java.lang.StringITEMGenerated constant - Attribute key ofCommentAttachment.itemattribute defined at extensioncomments.-
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 CommentAttachmentModel()Generated constructor - Default constructor for generic creation.CommentAttachmentModel(ItemModel _item)Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCommentAttachmentModel(ItemModel _item, 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 parametersCommentAttachmentModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractCommentModelgetAbstractComment()Generated method - Getter of theCommentAttachment.abstractCommentattribute defined at extensioncomments.ItemModelgetItem()Generated method - Getter of theCommentAttachment.itemattribute defined at extensioncomments.voidsetAbstractComment(AbstractCommentModel value)Generated method - Setter ofCommentAttachment.abstractCommentattribute defined at extensioncomments.voidsetItem(ItemModel value)Generated method - Setter ofCommentAttachment.itemattribute defined at extensioncomments.-
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
-
_ABSTRACTCOMMENTATTACHMENTRELATION
public static final java.lang.String _ABSTRACTCOMMENTATTACHMENTRELATION
Generated relation code constant for relationAbstractCommentAttachmentRelationdefining source attributeabstractCommentin extensioncomments.- See Also:
- Constant Field Values
-
ITEM
public static final java.lang.String ITEM
Generated constant - Attribute key ofCommentAttachment.itemattribute defined at extensioncomments.- See Also:
- Constant Field Values
-
ABSTRACTCOMMENT
public static final java.lang.String ABSTRACTCOMMENT
Generated constant - Attribute key ofCommentAttachment.abstractCommentattribute defined at extensioncomments.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommentAttachmentModel
public CommentAttachmentModel()
Generated constructor - Default constructor for generic creation.
-
CommentAttachmentModel
public CommentAttachmentModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CommentAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentAttachmentModel(ItemModel _item)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:
_item- initial attribute declared by typeCommentAttachmentat extensioncomments
-
CommentAttachmentModel
@Deprecated(since="4.1.1", forRemoval=true) public CommentAttachmentModel(ItemModel _item, 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:
_item- initial attribute declared by typeCommentAttachmentat extensioncomments_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getAbstractComment
@Accessor(qualifier="abstractComment", type=GETTER) public AbstractCommentModel getAbstractComment()
Generated method - Getter of theCommentAttachment.abstractCommentattribute defined at extensioncomments.- Returns:
- the abstractComment
-
getItem
@Accessor(qualifier="item", type=GETTER) public ItemModel getItem()
Generated method - Getter of theCommentAttachment.itemattribute defined at extensioncomments.- Returns:
- the item
-
setAbstractComment
@Accessor(qualifier="abstractComment", type=SETTER) public void setAbstractComment(AbstractCommentModel value)
Generated method - Setter ofCommentAttachment.abstractCommentattribute defined at extensioncomments.- Parameters:
value- the abstractComment
-
-