Class AgreementSpecification
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.AgreementSpecification
A template of an agreement that can be used when establishing partnerships
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttachmentItem(AttachmentRefOrValue attachmentItem) addRelatedPartyItem(RelatedParty relatedPartyItem) addSpecificationCharacteristicItem(AgreementSpecCharacteristic specificationCharacteristicItem) addSpecificationRelationshipItem(AgreementSpecificationRelationship specificationRelationshipItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) attachment(List<AttachmentRefOrValue> attachment) description(String description) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationships@Valid @Size(min=1) List<AttachmentRefOrValue>Get attachmentWhen sub-classing, this defines the sub-class entity nameA narrative that explains in detail what the agreement specification is aboutgetHref()Reference of the agreement specificationgetId()Unique identifier of the agreement specification@Valid DateDate and time of the last updateIndicates the current lifecycle statusgetName()Name of the agreement specification@Valid List<RelatedParty>Get relatedParty@Valid CategoryRefGet serviceCategory@Valid List<AgreementSpecCharacteristic>Get specificationCharacteristicGet specificationRelationship@Valid TimePeriodGet validForAgreement specification versioninthashCode()If true, this agreement specification is a grouping of other agreement specifications.lastUpdate(Date lastUpdate) lifecycleStatus(String lifecycleStatus) relatedParty(List<RelatedParty> relatedParty) serviceCategory(CategoryRef serviceCategory) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidsetAttachment(List<AttachmentRefOrValue> attachment) voidvoidsetDescription(String description) voidvoidvoidsetIsBundle(Boolean isBundle) voidsetLastUpdate(Date lastUpdate) voidsetLifecycleStatus(String lifecycleStatus) voidvoidsetRelatedParty(List<RelatedParty> relatedParty) voidsetServiceCategory(CategoryRef serviceCategory) voidsetSpecificationCharacteristic(List<AgreementSpecCharacteristic> specificationCharacteristic) voidsetSpecificationRelationship(List<AgreementSpecificationRelationship> specificationRelationship) voidsetValidFor(TimePeriod validFor) voidsetVersion(String version) specificationCharacteristic(List<AgreementSpecCharacteristic> specificationCharacteristic) specificationRelationship(List<AgreementSpecificationRelationship> specificationRelationship) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
AgreementSpecification
public AgreementSpecification()
-
-
Method Details
-
id
-
getId
Unique identifier of the agreement specification- Returns:
- id
-
setId
-
href
-
getHref
Reference of the agreement specification- Returns:
- href
-
setHref
-
description
-
getDescription
A narrative that explains in detail what the agreement specification is about- Returns:
- description
-
setDescription
-
isBundle
-
isIsBundle
If true, this agreement specification is a grouping of other agreement specifications. The list of bundled agreement specifications is provided by the specificationRelationship property- Returns:
- isBundle
-
setIsBundle
-
lastUpdate
-
getLastUpdate
Date and time of the last update- Returns:
- lastUpdate
-
setLastUpdate
-
lifecycleStatus
-
getLifecycleStatus
Indicates the current lifecycle status- Returns:
- lifecycleStatus
-
setLifecycleStatus
-
name
-
getName
Name of the agreement specification- Returns:
- name
-
setName
-
version
-
getVersion
Agreement specification version- Returns:
- version
-
setVersion
-
attachment
-
addAttachmentItem
-
getAttachment
Get attachment- Returns:
- attachment
-
setAttachment
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
serviceCategory
-
getServiceCategory
Get serviceCategory- Returns:
- serviceCategory
-
setServiceCategory
-
specificationCharacteristic
public AgreementSpecification specificationCharacteristic(List<AgreementSpecCharacteristic> specificationCharacteristic) -
addSpecificationCharacteristicItem
public AgreementSpecification addSpecificationCharacteristicItem(AgreementSpecCharacteristic specificationCharacteristicItem) -
getSpecificationCharacteristic
Get specificationCharacteristic- Returns:
- specificationCharacteristic
-
setSpecificationCharacteristic
public void setSpecificationCharacteristic(List<AgreementSpecCharacteristic> specificationCharacteristic) -
specificationRelationship
public AgreementSpecification specificationRelationship(List<AgreementSpecificationRelationship> specificationRelationship) -
addSpecificationRelationshipItem
public AgreementSpecification addSpecificationRelationshipItem(AgreementSpecificationRelationship specificationRelationshipItem) -
getSpecificationRelationship
Get specificationRelationship- Returns:
- specificationRelationship
-
setSpecificationRelationship
public void setSpecificationRelationship(List<AgreementSpecificationRelationship> specificationRelationship) -
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
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
-