Class AgreementModel

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

public class AgreementModel extends ItemModel
Generated model class for type Agreement first defined at extension catalog.
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 CatalogVersion2Agreements defining source attribute catalogVersion in extension catalog.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of Agreement.buyer attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.buyerContact attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.Catalog attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.catalogVersion attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.currency attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.enddate attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.id attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.startdate attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.supplier attribute defined at extension catalog.
    static final String
    Generated constant - Attribute key of Agreement.supplierContact attribute defined at extension catalog.

    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.
    AgreementModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Generated constructor - Default constructor for creation with existing context
    AgreementModel(Date _enddate, String _id)
    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
    AgreementModel(Date _enddate, String _id, 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
  • Method Summary

    Modifier and Type
    Method
    Description
    Generated method - Getter of the Agreement.buyer attribute defined at extension catalog.
    Generated method - Getter of the Agreement.buyerContact attribute defined at extension catalog.
    Generated method - Getter of the Agreement.catalogVersion attribute defined at extension catalog.
    Generated method - Getter of the Agreement.currency attribute defined at extension catalog.
    Generated method - Getter of the Agreement.enddate attribute defined at extension catalog.
    Generated method - Getter of the Agreement.id attribute defined at extension catalog.
    Generated method - Getter of the Agreement.startdate attribute defined at extension catalog.
    Generated method - Getter of the Agreement.supplier attribute defined at extension catalog.
    Generated method - Getter of the Agreement.supplierContact attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.buyer attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.buyerContact attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.catalogVersion attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.currency attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.enddate attribute defined at extension catalog.
    void
    setId(String value)
    Generated method - Setter of Agreement.id attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.startdate attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.supplier attribute defined at extension catalog.
    void
    Generated method - Setter of Agreement.supplierContact attribute defined at extension catalog.

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

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

    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:
    • _CATALOGVERSION2AGREEMENTS

      public static final String _CATALOGVERSION2AGREEMENTS
      Generated relation code constant for relation CatalogVersion2Agreements defining source attribute catalogVersion in extension catalog.
      See Also:
    • ID

      public static final String ID
      Generated constant - Attribute key of Agreement.id attribute defined at extension catalog.
      See Also:
    • STARTDATE

      public static final String STARTDATE
      Generated constant - Attribute key of Agreement.startdate attribute defined at extension catalog.
      See Also:
    • ENDDATE

      public static final String ENDDATE
      Generated constant - Attribute key of Agreement.enddate attribute defined at extension catalog.
      See Also:
    • CATALOG

      public static final String CATALOG
      Generated constant - Attribute key of Agreement.Catalog attribute defined at extension catalog.
      See Also:
    • BUYER

      public static final String BUYER
      Generated constant - Attribute key of Agreement.buyer attribute defined at extension catalog.
      See Also:
    • SUPPLIER

      public static final String SUPPLIER
      Generated constant - Attribute key of Agreement.supplier attribute defined at extension catalog.
      See Also:
    • BUYERCONTACT

      public static final String BUYERCONTACT
      Generated constant - Attribute key of Agreement.buyerContact attribute defined at extension catalog.
      See Also:
    • SUPPLIERCONTACT

      public static final String SUPPLIERCONTACT
      Generated constant - Attribute key of Agreement.supplierContact attribute defined at extension catalog.
      See Also:
    • CURRENCY

      public static final String CURRENCY
      Generated constant - Attribute key of Agreement.currency attribute defined at extension catalog.
      See Also:
    • CATALOGVERSION

      public static final String CATALOGVERSION
      Generated constant - Attribute key of Agreement.catalogVersion attribute defined at extension catalog.
      See Also:
  • Constructor Details

    • AgreementModel

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

      public AgreementModel(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
    • AgreementModel

      @Deprecated(since="4.1.1", forRemoval=true) public AgreementModel(Date _enddate, String _id)
      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:
      _enddate - initial attribute declared by type Agreement at extension catalog
      _id - initial attribute declared by type Agreement at extension catalog
    • AgreementModel

      @Deprecated(since="4.1.1", forRemoval=true) public AgreementModel(Date _enddate, String _id, 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:
      _enddate - initial attribute declared by type Agreement at extension catalog
      _id - initial attribute declared by type Agreement at extension catalog
      _owner - initial attribute declared by type Item at extension core
  • Method Details

    • getBuyer

      @Accessor(qualifier="buyer", type=GETTER) public CompanyModel getBuyer()
      Generated method - Getter of the Agreement.buyer attribute defined at extension catalog.
      Returns:
      the buyer - buyer
    • getBuyerContact

      @Accessor(qualifier="buyerContact", type=GETTER) public UserModel getBuyerContact()
      Generated method - Getter of the Agreement.buyerContact attribute defined at extension catalog.
      Returns:
      the buyerContact - buyerContact
    • getCatalogVersion

      @Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the Agreement.catalogVersion attribute defined at extension catalog.
      Returns:
      the catalogVersion
    • getCurrency

      @Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
      Generated method - Getter of the Agreement.currency attribute defined at extension catalog.
      Returns:
      the currency - currency
    • getEnddate

      @Accessor(qualifier="enddate", type=GETTER) public Date getEnddate()
      Generated method - Getter of the Agreement.enddate attribute defined at extension catalog.
      Returns:
      the enddate - Agreement ID
    • getId

      @Accessor(qualifier="id", type=GETTER) public String getId()
      Generated method - Getter of the Agreement.id attribute defined at extension catalog.
      Returns:
      the id - Agreement ID
    • getStartdate

      @Accessor(qualifier="startdate", type=GETTER) public Date getStartdate()
      Generated method - Getter of the Agreement.startdate attribute defined at extension catalog.
      Returns:
      the startdate - Start Date
    • getSupplier

      @Accessor(qualifier="supplier", type=GETTER) public CompanyModel getSupplier()
      Generated method - Getter of the Agreement.supplier attribute defined at extension catalog.
      Returns:
      the supplier - supplier
    • getSupplierContact

      @Accessor(qualifier="supplierContact", type=GETTER) public UserModel getSupplierContact()
      Generated method - Getter of the Agreement.supplierContact attribute defined at extension catalog.
      Returns:
      the supplierContact - supplierContact
    • setBuyer

      @Accessor(qualifier="buyer", type=SETTER) public void setBuyer(CompanyModel value)
      Generated method - Setter of Agreement.buyer attribute defined at extension catalog.
      Parameters:
      value - the buyer - buyer
    • setBuyerContact

      @Accessor(qualifier="buyerContact", type=SETTER) public void setBuyerContact(UserModel value)
      Generated method - Setter of Agreement.buyerContact attribute defined at extension catalog.
      Parameters:
      value - the buyerContact - buyerContact
    • setCatalogVersion

      @Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
      Generated method - Setter of Agreement.catalogVersion attribute defined at extension catalog.
      Parameters:
      value - the catalogVersion
    • setCurrency

      @Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
      Generated method - Setter of Agreement.currency attribute defined at extension catalog.
      Parameters:
      value - the currency - currency
    • setEnddate

      @Accessor(qualifier="enddate", type=SETTER) public void setEnddate(Date value)
      Generated method - Setter of Agreement.enddate attribute defined at extension catalog.
      Parameters:
      value - the enddate - Agreement ID
    • setId

      @Accessor(qualifier="id", type=SETTER) public void setId(String value)
      Generated method - Setter of Agreement.id attribute defined at extension catalog.
      Parameters:
      value - the id - Agreement ID
    • setStartdate

      @Accessor(qualifier="startdate", type=SETTER) public void setStartdate(Date value)
      Generated method - Setter of Agreement.startdate attribute defined at extension catalog.
      Parameters:
      value - the startdate - Start Date
    • setSupplier

      @Accessor(qualifier="supplier", type=SETTER) public void setSupplier(CompanyModel value)
      Generated method - Setter of Agreement.supplier attribute defined at extension catalog.
      Parameters:
      value - the supplier - supplier
    • setSupplierContact

      @Accessor(qualifier="supplierContact", type=SETTER) public void setSupplierContact(UserModel value)
      Generated method - Setter of Agreement.supplierContact attribute defined at extension catalog.
      Parameters:
      value - the supplierContact - supplierContact