Class B2BCommentModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.b2b.model.B2BCommentModel
All Implemented Interfaces:
Serializable

public class B2BCommentModel extends ItemModel
Generated model class for type B2BComment first defined at extension b2bcommerce.
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 AbstractOrder2B2BComment defining source attribute order in extension b2bcommerce.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of B2BComment.code attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BComment.comment attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
    static final String
    Generated constant - Attribute key of B2BComment.order attribute defined at extension b2bcommerce.

    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
    B2BCommentModel(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 B2BComment.code attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BComment.comment attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BComment.modifiedDate attribute defined at extension b2bcommerce.
    Generated method - Getter of the B2BComment.order attribute defined at extension b2bcommerce.
    Generated method - Getter of the Item.owner attribute defined at extension core and redeclared at extension b2bcommerce.
    void
    setCode(String value)
    Generated method - Setter of B2BComment.code attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BComment.comment attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of B2BComment.order attribute defined at extension b2bcommerce.
    void
    Generated method - Setter of Item.owner attribute defined at extension core and redeclared at extension b2bcommerce.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, isSealed, setComments, setCreationtime, setModifiedtime

    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:
    • _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(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
    • 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