Class 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

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

      Fields 
      Modifier and Type Field Description
      static java.lang.String _ABSTRACTCOMMENTATTACHMENTRELATION
      Generated relation code constant for relation AbstractCommentAttachmentRelation defining source attribute abstractComment in extension comments.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ABSTRACTCOMMENT
      Generated constant - Attribute key of CommentAttachment.abstractComment attribute defined at extension comments.
      static java.lang.String ITEM
      Generated constant - Attribute key of CommentAttachment.item attribute defined at extension comments.
      • 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 parameters
      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
      CommentAttachmentModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractCommentModel getAbstractComment()
      Generated method - Getter of the CommentAttachment.abstractComment attribute defined at extension comments.
      ItemModel getItem()
      Generated method - Getter of the CommentAttachment.item attribute defined at extension comments.
      void setAbstractComment​(AbstractCommentModel value)
      Generated method - Setter of CommentAttachment.abstractComment attribute defined at extension comments.
      void setItem​(ItemModel value)
      Generated method - Setter of CommentAttachment.item attribute defined at extension comments.
      • 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 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 relation AbstractCommentAttachmentRelation defining source attribute abstractComment in extension comments.
        See Also:
        Constant Field Values
      • ITEM

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

        public static final java.lang.String ABSTRACTCOMMENT
        Generated constant - Attribute key of CommentAttachment.abstractComment attribute defined at extension comments.
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • 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