Class B2BCommentModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BCommentModel
    extends ItemModel
    Generated model class for type B2BComment first defined at extension b2bcommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _ABSTRACTORDER2B2BCOMMENT

        public static final java.lang.String _ABSTRACTORDER2B2BCOMMENT
        Generated relation code constant for relation AbstractOrder2B2BComment defining source attribute order in extension b2bcommerce.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of B2BComment.code attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • COMMENT

        public static final java.lang.String COMMENT
        Generated constant - Attribute key of B2BComment.comment attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • MODIFIEDDATE

        public static final java.lang.String MODIFIEDDATE
        Generated constant - Attribute key of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • ORDER

        public static final java.lang.String ORDER
        Generated constant - Attribute key of B2BComment.order attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BCommentModel

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

        public B2BCommentModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • B2BCommentModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BCommentModel​(UserModel _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:
        _owner - initial attribute declared by type B2BComment at extension b2bcommerce
    • Method Detail

      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the B2BComment.code attribute defined at extension b2bcommerce.
        Returns:
        the code
      • getComment

        @Accessor(qualifier="comment",
                  type=GETTER)
        public java.lang.String getComment()
        Generated method - Getter of the B2BComment.comment attribute defined at extension b2bcommerce.
        Returns:
        the comment
      • getModifiedDate

        @Accessor(qualifier="modifiedDate",
                  type=GETTER)
        public java.util.Date getModifiedDate()
        Generated method - Getter of the B2BComment.modifiedDate attribute defined at extension b2bcommerce.
        Returns:
        the modifiedDate
      • getOwner

        @Accessor(qualifier="owner",
                  type=GETTER)
        public UserModel getOwner()
        Generated method - Getter of the Item.owner attribute defined at extension core and redeclared at extension b2bcommerce.
        Overrides:
        getOwner in class ItemModel
        Returns:
        the owner - responsible user for this template
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Setter of B2BComment.code attribute defined at extension b2bcommerce.
        Parameters:
        value - the code
      • setComment

        @Accessor(qualifier="comment",
                  type=SETTER)
        public void setComment​(java.lang.String value)
        Generated method - Setter of B2BComment.comment attribute defined at extension b2bcommerce.
        Parameters:
        value - the comment
      • setModifiedDate

        @Accessor(qualifier="modifiedDate",
                  type=SETTER)
        public void setModifiedDate​(java.util.Date value)
        Generated method - Setter of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
        Parameters:
        value - the modifiedDate
      • setOwner

        @Accessor(qualifier="owner",
                  type=SETTER)
        public void setOwner​(ItemModel value)
        Generated method - Setter of Item.owner attribute defined at extension core and redeclared at extension b2bcommerce. Will only accept values of type UserModel.
        Overrides:
        setOwner in class ItemModel
        Parameters:
        value - the owner - responsible user for this template