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

public class CommentAttachmentModel extends ItemModel
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

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated relation code constant for relation AbstractCommentAttachmentRelation defining source attribute abstractComment in extension comments.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CommentAttachment.abstractComment attribute defined at extension comments.
    static final String
    Generated constant - Attribute key of CommentAttachment.item attribute defined at extension comments.

    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
    Generated constructor - Default constructor for generic creation.
    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
    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
    CommentAttachmentModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CommentAttachment.abstractComment attribute defined at extension comments.
    Generated method - Getter of the CommentAttachment.item attribute defined at extension comments.
    void
    Generated method - Setter of CommentAttachment.abstractComment attribute defined at extension comments.
    void
    Generated method - Setter of CommentAttachment.item attribute defined at extension comments.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _ABSTRACTCOMMENTATTACHMENTRELATION

      public static final String _ABSTRACTCOMMENTATTACHMENTRELATION
      Generated relation code constant for relation AbstractCommentAttachmentRelation defining source attribute abstractComment in extension comments.
      See Also:
    • ITEM

      public static final String ITEM
      Generated constant - Attribute key of CommentAttachment.item attribute defined at extension comments.
      See Also:
    • ABSTRACTCOMMENT

      public static final String ABSTRACTCOMMENT
      Generated constant - Attribute key of CommentAttachment.abstractComment attribute defined at extension comments.
      See Also:
  • Constructor Details

    • CommentAttachmentModel

      public CommentAttachmentModel()
      Generated constructor - Default constructor for generic creation.
    • CommentAttachmentModel

      public CommentAttachmentModel(de.hybris.platform.servicelayer.model.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 parameters
      Generated constructor - Constructor with all mandatory attributes.
      Parameters:
      _item - initial attribute declared by type CommentAttachment at extension comments
    • 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 parameters
      Generated constructor - for all mandatory and initial attributes.
      Parameters:
      _item - initial attribute declared by type CommentAttachment at extension comments
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getAbstractComment

      @Accessor(qualifier="abstractComment", type=GETTER) public AbstractCommentModel getAbstractComment()
      Generated method - Getter of the CommentAttachment.abstractComment attribute defined at extension comments.
      Returns:
      the abstractComment
    • getItem

      @Accessor(qualifier="item", type=GETTER) public ItemModel getItem()
      Generated method - Getter of the CommentAttachment.item attribute defined at extension comments.
      Returns:
      the item
    • setAbstractComment

      @Accessor(qualifier="abstractComment", type=SETTER) public void setAbstractComment(AbstractCommentModel value)
      Generated method - Setter of CommentAttachment.abstractComment attribute defined at extension comments.
      Parameters:
      value - the abstractComment
    • setItem

      @Accessor(qualifier="item", type=SETTER) public void setItem(ItemModel value)
      Generated method - Setter of CommentAttachment.item attribute defined at extension comments.
      Parameters:
      value - the item