Class Agreement
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.Agreement
An agreement represents a contract or arrangement, either written or verbal and sometimes enforceable by law, such as a service level agreement or a customer price agreement. An agreement involves a number of other business entities, such as products, services, and resources and/or their specifications.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAgreementAuthorizationItem(AgreementAuthorization agreementAuthorizationItem) addAgreementItemItem(AgreementItem agreementItemItem) addAssociatedAgreementItem(AgreementRef associatedAgreementItem) addCharacteristicItem(AgreementCharacteristic characteristicItem) addEngagedPartyItem(RelatedParty engagedPartyItem) agreementAuthorization(List<AgreementAuthorization> agreementAuthorization) agreementItem(List<AgreementItem> agreementItem) agreementPeriod(TimePeriod agreementPeriod) agreementSpecification(AgreementSpecificationRef agreementSpecification) agreementType(String agreementType) associatedAgreement(List<AgreementRef> associatedAgreement) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) characteristic(List<AgreementCharacteristic> characteristic) completionDate(TimePeriod completionDate) description(String description) documentNumber(Integer documentNumber) engagedParty(List<RelatedParty> engagedParty) boolean@Valid List<AgreementAuthorization>Get agreementAuthorization@Valid @Size(min=1) List<AgreementItem>Get agreementItem@Valid TimePeriodGet agreementPeriod@Valid AgreementSpecificationRefGet agreementSpecificationThe type of the agreement.@Valid List<AgreementRef>Get associatedAgreementWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<AgreementCharacteristic>Get characteristic@Valid TimePeriodGet completionDateNarrative that explains the agreement and details about the it , such as why the agreement is taking place.A reference number assigned to an Agreement that follows a prescribed numbering system.@Valid List<RelatedParty>Get engagedPartygetHref()Unique url identifying the agreement as a resourcegetId()Unique identifier for the agreement@Valid DateDate at which the agreement was initialized@NotNull StringgetName()A human-readable name for the agreementAn overview and goals of the AgreementThe current status of the agreement.A string identifying the version of the agreementinthashCode()initialDate(Date initialDate) voidsetAgreementAuthorization(List<AgreementAuthorization> agreementAuthorization) voidsetAgreementItem(List<AgreementItem> agreementItem) voidsetAgreementPeriod(TimePeriod agreementPeriod) voidsetAgreementSpecification(AgreementSpecificationRef agreementSpecification) voidsetAgreementType(String agreementType) voidsetAssociatedAgreement(List<AgreementRef> associatedAgreement) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCharacteristic(List<AgreementCharacteristic> characteristic) voidsetCompletionDate(TimePeriod completionDate) voidsetDescription(String description) voidsetDocumentNumber(Integer documentNumber) voidsetEngagedParty(List<RelatedParty> engagedParty) voidvoidvoidsetInitialDate(Date initialDate) voidvoidsetStatementOfIntent(String statementOfIntent) voidvoidsetVersion(String version) statementOfIntent(String statementOfIntent) toString()
-
Constructor Details
-
Agreement
public Agreement()
-
-
Method Details
-
id
-
getId
Unique identifier for the agreement- Returns:
- id
-
setId
-
href
-
getHref
Unique url identifying the agreement as a resource- Returns:
- href
-
setHref
-
agreementType
-
getAgreementType
The type of the agreement. For example commercial- Returns:
- agreementType
-
setAgreementType
-
description
-
getDescription
Narrative that explains the agreement and details about the it , such as why the agreement is taking place.- Returns:
- description
-
setDescription
-
documentNumber
-
getDocumentNumber
A reference number assigned to an Agreement that follows a prescribed numbering system.- Returns:
- documentNumber
-
setDocumentNumber
-
initialDate
-
getInitialDate
Date at which the agreement was initialized- Returns:
- initialDate
-
setInitialDate
-
name
-
getName
A human-readable name for the agreement- Returns:
- name
-
setName
-
statementOfIntent
-
getStatementOfIntent
An overview and goals of the Agreement- Returns:
- statementOfIntent
-
setStatementOfIntent
-
status
-
getStatus
The current status of the agreement. Typical values are: in process, approved and rejected- Returns:
- status
-
setStatus
-
version
-
getVersion
A string identifying the version of the agreement- Returns:
- version
-
setVersion
-
agreementAuthorization
-
addAgreementAuthorizationItem
-
getAgreementAuthorization
Get agreementAuthorization- Returns:
- agreementAuthorization
-
setAgreementAuthorization
-
agreementItem
-
addAgreementItemItem
-
getAgreementItem
Get agreementItem- Returns:
- agreementItem
-
setAgreementItem
-
agreementPeriod
-
getAgreementPeriod
Get agreementPeriod- Returns:
- agreementPeriod
-
setAgreementPeriod
-
agreementSpecification
-
getAgreementSpecification
Get agreementSpecification- Returns:
- agreementSpecification
-
setAgreementSpecification
-
associatedAgreement
-
addAssociatedAgreementItem
-
getAssociatedAgreement
Get associatedAgreement- Returns:
- associatedAgreement
-
setAssociatedAgreement
-
characteristic
-
addCharacteristicItem
-
getCharacteristic
Get characteristic- Returns:
- characteristic
-
setCharacteristic
-
completionDate
-
getCompletionDate
Get completionDate- Returns:
- completionDate
-
setCompletionDate
-
engagedParty
-
addEngagedPartyItem
-
getEngagedParty
Get engagedParty- Returns:
- engagedParty
-
setEngagedParty
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-