Class AgreementModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class AgreementModel
    extends ItemModel
    Generated model class for type Agreement first defined at extension catalog.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

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

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

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

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

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

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

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

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

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

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

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

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of Agreement.catalogVersion attribute defined at extension catalog.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AgreementModel

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

        public AgreementModel​(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​(java.util.Date _enddate,
                              java.lang.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​(java.util.Date _enddate,
                              java.lang.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 Detail

      • 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 java.util.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 java.lang.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 java.util.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​(java.util.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​(java.lang.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​(java.util.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