Class B2BCommentModel

All Implemented Interfaces:
Serializable

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

    • _TYPECODE

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

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

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

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

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

      public static final String ORDER
      Generated constant - Attribute key of B2BComment.order attribute defined at extension b2bcommerce.
      See Also:
  • Constructor Details

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

    • getCode

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

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

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

      @Accessor(qualifier="order", type=GETTER) public AbstractOrderModel getOrder()
      Generated method - Getter of the B2BComment.order attribute defined at extension b2bcommerce.
      Returns:
      the order
    • 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(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(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(Date value)
      Generated method - Setter of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
      Parameters:
      value - the modifiedDate
    • setOrder

      @Accessor(qualifier="order", type=SETTER) public void setOrder(AbstractOrderModel value)
      Generated method - Setter of B2BComment.order attribute defined at extension b2bcommerce.
      Parameters:
      value - the order
    • 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