Package de.hybris.platform.catalog.model
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:
java.io.Serializable
public class AgreementModel extends ItemModel
Generated model class for type Agreement first defined at extension catalog.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CATALOGVERSION2AGREEMENTSGenerated relation code constant for relationCatalogVersion2Agreementsdefining source attributecatalogVersionin extensioncatalog.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringBUYERGenerated constant - Attribute key ofAgreement.buyerattribute defined at extensioncatalog.static java.lang.StringBUYERCONTACTGenerated constant - Attribute key ofAgreement.buyerContactattribute defined at extensioncatalog.static java.lang.StringCATALOGGenerated constant - Attribute key ofAgreement.Catalogattribute defined at extensioncatalog.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofAgreement.catalogVersionattribute defined at extensioncatalog.static java.lang.StringCURRENCYGenerated constant - Attribute key ofAgreement.currencyattribute defined at extensioncatalog.static java.lang.StringENDDATEGenerated constant - Attribute key ofAgreement.enddateattribute defined at extensioncatalog.static java.lang.StringIDGenerated constant - Attribute key ofAgreement.idattribute defined at extensioncatalog.static java.lang.StringSTARTDATEGenerated constant - Attribute key ofAgreement.startdateattribute defined at extensioncatalog.static java.lang.StringSUPPLIERGenerated constant - Attribute key ofAgreement.supplierattribute defined at extensioncatalog.static java.lang.StringSUPPLIERCONTACTGenerated constant - Attribute key ofAgreement.supplierContactattribute defined at extensioncatalog.-
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 AgreementModel()Generated constructor - Default constructor for generic creation.AgreementModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing contextAgreementModel(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 parametersAgreementModel(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
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyModelgetBuyer()Generated method - Getter of theAgreement.buyerattribute defined at extensioncatalog.UserModelgetBuyerContact()Generated method - Getter of theAgreement.buyerContactattribute defined at extensioncatalog.CatalogVersionModelgetCatalogVersion()Generated method - Getter of theAgreement.catalogVersionattribute defined at extensioncatalog.CurrencyModelgetCurrency()Generated method - Getter of theAgreement.currencyattribute defined at extensioncatalog.java.util.DategetEnddate()Generated method - Getter of theAgreement.enddateattribute defined at extensioncatalog.java.lang.StringgetId()Generated method - Getter of theAgreement.idattribute defined at extensioncatalog.java.util.DategetStartdate()Generated method - Getter of theAgreement.startdateattribute defined at extensioncatalog.CompanyModelgetSupplier()Generated method - Getter of theAgreement.supplierattribute defined at extensioncatalog.UserModelgetSupplierContact()Generated method - Getter of theAgreement.supplierContactattribute defined at extensioncatalog.voidsetBuyer(CompanyModel value)Generated method - Setter ofAgreement.buyerattribute defined at extensioncatalog.voidsetBuyerContact(UserModel value)Generated method - Setter ofAgreement.buyerContactattribute defined at extensioncatalog.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofAgreement.catalogVersionattribute defined at extensioncatalog.voidsetCurrency(CurrencyModel value)Generated method - Setter ofAgreement.currencyattribute defined at extensioncatalog.voidsetEnddate(java.util.Date value)Generated method - Setter ofAgreement.enddateattribute defined at extensioncatalog.voidsetId(java.lang.String value)Generated method - Setter ofAgreement.idattribute defined at extensioncatalog.voidsetStartdate(java.util.Date value)Generated method - Setter ofAgreement.startdateattribute defined at extensioncatalog.voidsetSupplier(CompanyModel value)Generated method - Setter ofAgreement.supplierattribute defined at extensioncatalog.voidsetSupplierContact(UserModel value)Generated method - Setter ofAgreement.supplierContactattribute defined at extensioncatalog.-
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
-
-
-
-
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 relationCatalogVersion2Agreementsdefining source attributecatalogVersionin extensioncatalog.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
Generated constant - Attribute key ofAgreement.idattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
STARTDATE
public static final java.lang.String STARTDATE
Generated constant - Attribute key ofAgreement.startdateattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
ENDDATE
public static final java.lang.String ENDDATE
Generated constant - Attribute key ofAgreement.enddateattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG
Generated constant - Attribute key ofAgreement.Catalogattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
BUYER
public static final java.lang.String BUYER
Generated constant - Attribute key ofAgreement.buyerattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
SUPPLIER
public static final java.lang.String SUPPLIER
Generated constant - Attribute key ofAgreement.supplierattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
BUYERCONTACT
public static final java.lang.String BUYERCONTACT
Generated constant - Attribute key ofAgreement.buyerContactattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
SUPPLIERCONTACT
public static final java.lang.String SUPPLIERCONTACT
Generated constant - Attribute key ofAgreement.supplierContactattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
CURRENCY
public static final java.lang.String CURRENCY
Generated constant - Attribute key ofAgreement.currencyattribute defined at extensioncatalog.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofAgreement.catalogVersionattribute defined at extensioncatalog.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_enddate- initial attribute declared by typeAgreementat extensioncatalog_id- initial attribute declared by typeAgreementat extensioncatalog
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_enddate- initial attribute declared by typeAgreementat extensioncatalog_id- initial attribute declared by typeAgreementat extensioncatalog_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getBuyer
@Accessor(qualifier="buyer", type=GETTER) public CompanyModel getBuyer()
Generated method - Getter of theAgreement.buyerattribute defined at extensioncatalog.- Returns:
- the buyer - buyer
-
getBuyerContact
@Accessor(qualifier="buyerContact", type=GETTER) public UserModel getBuyerContact()
Generated method - Getter of theAgreement.buyerContactattribute defined at extensioncatalog.- Returns:
- the buyerContact - buyerContact
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theAgreement.catalogVersionattribute defined at extensioncatalog.- Returns:
- the catalogVersion
-
getCurrency
@Accessor(qualifier="currency", type=GETTER) public CurrencyModel getCurrency()
Generated method - Getter of theAgreement.currencyattribute defined at extensioncatalog.- Returns:
- the currency - currency
-
getEnddate
@Accessor(qualifier="enddate", type=GETTER) public java.util.Date getEnddate()
Generated method - Getter of theAgreement.enddateattribute defined at extensioncatalog.- Returns:
- the enddate - Agreement ID
-
getId
@Accessor(qualifier="id", type=GETTER) public java.lang.String getId()
Generated method - Getter of theAgreement.idattribute defined at extensioncatalog.- Returns:
- the id - Agreement ID
-
getStartdate
@Accessor(qualifier="startdate", type=GETTER) public java.util.Date getStartdate()
Generated method - Getter of theAgreement.startdateattribute defined at extensioncatalog.- Returns:
- the startdate - Start Date
-
getSupplier
@Accessor(qualifier="supplier", type=GETTER) public CompanyModel getSupplier()
Generated method - Getter of theAgreement.supplierattribute defined at extensioncatalog.- Returns:
- the supplier - supplier
-
getSupplierContact
@Accessor(qualifier="supplierContact", type=GETTER) public UserModel getSupplierContact()
Generated method - Getter of theAgreement.supplierContactattribute defined at extensioncatalog.- Returns:
- the supplierContact - supplierContact
-
setBuyer
@Accessor(qualifier="buyer", type=SETTER) public void setBuyer(CompanyModel value)
Generated method - Setter ofAgreement.buyerattribute defined at extensioncatalog.- Parameters:
value- the buyer - buyer
-
setBuyerContact
@Accessor(qualifier="buyerContact", type=SETTER) public void setBuyerContact(UserModel value)
Generated method - Setter ofAgreement.buyerContactattribute defined at extensioncatalog.- Parameters:
value- the buyerContact - buyerContact
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofAgreement.catalogVersionattribute defined at extensioncatalog.- Parameters:
value- the catalogVersion
-
setCurrency
@Accessor(qualifier="currency", type=SETTER) public void setCurrency(CurrencyModel value)
Generated method - Setter ofAgreement.currencyattribute defined at extensioncatalog.- Parameters:
value- the currency - currency
-
setEnddate
@Accessor(qualifier="enddate", type=SETTER) public void setEnddate(java.util.Date value)
Generated method - Setter ofAgreement.enddateattribute defined at extensioncatalog.- Parameters:
value- the enddate - Agreement ID
-
setId
@Accessor(qualifier="id", type=SETTER) public void setId(java.lang.String value)
Generated method - Setter ofAgreement.idattribute defined at extensioncatalog.- Parameters:
value- the id - Agreement ID
-
setStartdate
@Accessor(qualifier="startdate", type=SETTER) public void setStartdate(java.util.Date value)
Generated method - Setter ofAgreement.startdateattribute defined at extensioncatalog.- Parameters:
value- the startdate - Start Date
-
setSupplier
@Accessor(qualifier="supplier", type=SETTER) public void setSupplier(CompanyModel value)
Generated method - Setter ofAgreement.supplierattribute defined at extensioncatalog.- Parameters:
value- the supplier - supplier
-
-