public interface CommonAgreement<R extends ReferencedDocument,A extends ReferencedDocument> extends Serializable
This base agreement class contain only fields. Agreement and SpecifiedAgreement provide a different
view
on the underlying Data,
we have this common field structure class because otherwise we would have two +SupplyChainTradeAgreementType+s and
this is not allowed in JaxB
| Modifier and Type | Method and Description |
|---|---|
CommonAgreement<R,A> |
addAdditional(A additionalReference)
Sets the additional referenced document.
|
List<A> |
getAdditional()
Gets the additional referenced document
|
R |
getBuyerOrder()
Gets the buyer order referenced document.
|
R |
getContract()
Gets the contract referenced document.
|
R |
getCustomerOrder()
Gets the customer order referenced document.
|
CommonAgreement<R,A> |
setBuyerOrder(R buyerOrder)
Sets the buyer order referenced document.
|
CommonAgreement<R,A> |
setContract(R contract)
Sets the contract referenced document.
|
CommonAgreement<R,A> |
setCustomerOrder(R customerOrder)
Sets the customer order referenced document.
|
CommonAgreement<R,A> addAdditional(A additionalReference)
Sets the additional referenced document.
additionalReference - the additional referenceList<A> getAdditional()
Gets the additional referenced document
R getBuyerOrder()
Gets the buyer order referenced document.
R getContract()
Gets the contract referenced document.
R getCustomerOrder()
Gets the customer order referenced document.
CommonAgreement<R,A> setBuyerOrder(R buyerOrder)
Sets the buyer order referenced document.
buyerOrder - the new buyer order referenced documentCommonAgreement<R,A> setContract(R contract)
Sets the contract referenced document.
contract - the new contract referenced documentCommonAgreement<R,A> setCustomerOrder(R customerOrder)
Sets the customer order referenced document.
customerOrder - the new customer order referenced documentCopyright © 2014-2016 Konik.io. All Rights Reserved.