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
    • 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​(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