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:
Serializable
Generated model class for type CommentAttachment 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 relationAbstractCommentAttachmentRelationdefining source attributeabstractCommentin extensioncomments.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCommentAttachment.abstractCommentattribute defined at extensioncomments.static final StringGenerated 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, 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.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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCommentAttachment.abstractCommentattribute defined at extensioncomments.getItem()Generated method - Getter of theCommentAttachment.itemattribute defined at extensioncomments.voidGenerated method - Setter ofCommentAttachment.abstractCommentattribute defined at extensioncomments.voidGenerated 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, 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:
-
_ABSTRACTCOMMENTATTACHMENTRELATION
Generated relation code constant for relationAbstractCommentAttachmentRelationdefining source attributeabstractCommentin extensioncomments.- See Also:
-
ITEM
Generated constant - Attribute key ofCommentAttachment.itemattribute defined at extensioncomments.- See Also:
-
ABSTRACTCOMMENT
Generated constant - Attribute key ofCommentAttachment.abstractCommentattribute defined at extensioncomments.- See Also:
-
-
Constructor Details
-
CommentAttachmentModel
public CommentAttachmentModel()Generated constructor - Default constructor for generic creation. -
CommentAttachmentModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CommentAttachmentModel
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 Details
-
getAbstractComment
@Accessor(qualifier="abstractComment", type=GETTER) public AbstractCommentModel getAbstractComment()Generated method - Getter of theCommentAttachment.abstractCommentattribute defined at extensioncomments.- Returns:
- the abstractComment
-
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
-
setItem
Generated method - Setter ofCommentAttachment.itemattribute defined at extensioncomments.- Parameters:
value- the item
-