org.ogf.graap.wsag.api
Interface NegotiationOffer
- All Known Implementing Classes:
- NegotiationOfferTypeImpl, SampleNegotiationOffer
public interface NegotiationOffer
The NegotiationOffer interface implements the required methods to access the properties of a negotiation
offer. Negotiation offers are used in a Negotiation process in order to negotiate valid
AgreementOffer instances that can be used to create new Agreements with an
AgreementFactory.
- Author:
- hrasheed
- See Also:
Negotiation,
AgreementFactory,
Agreement
getAgreementId
String getAgreementId()
- Returns:
- the agreement id
setAgreementId
void setAgreementId(String id)
- Parameters:
id - agreement id
getName
String getName()
- Returns:
- the agreement name
setName
void setName(String name)
- Parameters:
name - the agreement name to set
getContext
AgreementContextType getContext()
- Returns:
- the agreement context
setContext
void setContext(AgreementContextType context)
- Parameters:
context - the agreement context to set
getTerms
TermTreeType getTerms()
- Returns:
- the agreement terms
setTerms
void setTerms(TermTreeType terms)
- Parameters:
terms - the agreement terms to set
getNegotiationOfferContext
NegotiationOfferContextType getNegotiationOfferContext()
- Returns:
- the negotiation offer context
setNegotiationOfferContext
void setNegotiationOfferContext(NegotiationOfferContextType context)
- Parameters:
context - the agreement context to set
getOfferId
String getOfferId()
- Returns:
- the offer id
setOfferId
void setOfferId(String id)
- Parameters:
id - offer id
getNegotiationConstraints
NegotiationConstraintSectionType getNegotiationConstraints()
- Returns:
- the negotiation constraints
setNegotiationConstraints
void setNegotiationConstraints(NegotiationConstraintSectionType constraints)
- Parameters:
constraints - the negotiation constraints to set
getXMLObject
AgreementType getXMLObject()
- Returns:
- the XML representation of the negotiation offer
Copyright © 2008-2012. All Rights Reserved.