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
    • 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 _ABSTRACTORDER2B2BCOMMENT
      Generated relation code constant for relation AbstractOrder2B2BComment defining source attribute order in extension b2bcommerce.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String CODE
      Generated constant - Attribute key of B2BComment.code attribute defined at extension b2bcommerce.
      static java.lang.String COMMENT
      Generated constant - Attribute key of B2BComment.comment attribute defined at extension b2bcommerce.
      static java.lang.String MODIFIEDDATE
      Generated constant - Attribute key of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
      static java.lang.String ORDER
      Generated constant - Attribute key of B2BComment.order attribute defined at extension b2bcommerce.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      B2BCommentModel()
      Generated constructor - Default constructor for generic creation.
      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
      B2BCommentModel​(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
      java.lang.String getCode()
      Generated method - Getter of the B2BComment.code attribute defined at extension b2bcommerce.
      java.lang.String getComment()
      Generated method - Getter of the B2BComment.comment attribute defined at extension b2bcommerce.
      java.util.Date getModifiedDate()
      Generated method - Getter of the B2BComment.modifiedDate attribute defined at extension b2bcommerce.
      AbstractOrderModel getOrder()
      Generated method - Getter of the B2BComment.order attribute defined at extension b2bcommerce.
      UserModel getOwner()
      Generated method - Getter of the Item.owner attribute defined at extension core and redeclared at extension b2bcommerce.
      void setCode​(java.lang.String value)
      Generated method - Setter of B2BComment.code attribute defined at extension b2bcommerce.
      void setComment​(java.lang.String value)
      Generated method - Setter of B2BComment.comment attribute defined at extension b2bcommerce.
      void setModifiedDate​(java.util.Date value)
      Generated method - Setter of B2BComment.modifiedDate attribute defined at extension b2bcommerce.
      void setOrder​(AbstractOrderModel value)
      Generated method - Setter of B2BComment.order attribute defined at extension b2bcommerce.
      void setOwner​(ItemModel value)
      Generated method - Setter of Item.owner attribute defined at extension core and redeclared at extension b2bcommerce.
      • 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
      • _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​(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 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
      • 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​(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
      • 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