|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.NegotiationOfferTypeImpl
public class NegotiationOfferTypeImpl
NegotiationOfferType
Constructor Summary | |
---|---|
NegotiationOfferTypeImpl(AgreementTemplateType template)
Initializes an negotiation offer from a template. |
|
NegotiationOfferTypeImpl(NegotiationOfferType negotiationOffer)
Initializes a negotiation offer from a negotiation offer. |
Method Summary | |
---|---|
String |
getAgreementId()
|
AgreementContextType |
getContext()
The context of the agreement to negotiate. |
String |
getName()
|
NegotiationConstraintSectionType |
getNegotiationConstraints()
|
NegotiationOfferContextType |
getNegotiationOfferContext()
|
String |
getOfferId()
|
TermTreeType |
getTerms()
|
NegotiationOfferType |
getXMLObject()
|
void |
setAgreementId(String id)
|
void |
setContext(AgreementContextType context)
|
void |
setName(String name)
|
void |
setNegotiationConstraints(NegotiationConstraintSectionType constraints)
|
void |
setNegotiationOfferContext(NegotiationOfferContextType negOffercontext)
|
void |
setOfferId(String id)
|
void |
setTerms(TermTreeType terms)
|
boolean |
validate()
Validates the internal XML representation of this object. |
Methods inherited from class org.ogf.graap.wsag.api.types.WSAGXmlType |
---|
processTemplate, validate |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NegotiationOfferTypeImpl(AgreementTemplateType template)
template
- the template used to create the negotiation offerpublic NegotiationOfferTypeImpl(NegotiationOfferType negotiationOffer)
negotiationOffer
- the negotiation offer used to create this typeMethod Detail |
---|
public String getOfferId()
getOfferId
in interface NegotiationOffer
public void setOfferId(String id)
setOfferId
in interface NegotiationOffer
id
- offer idpublic String getName()
getName
in interface NegotiationOffer
public void setName(String name)
setName
in interface NegotiationOffer
name
- the offer name to setpublic String getAgreementId()
getAgreementId
in interface NegotiationOffer
public void setAgreementId(String id)
setAgreementId
in interface NegotiationOffer
id
- agreement idpublic AgreementContextType getContext()
getContext
in interface NegotiationOffer
public void setContext(AgreementContextType context)
setContext
in interface NegotiationOffer
context
- the agreement context to setpublic TermTreeType getTerms()
getTerms
in interface NegotiationOffer
public void setTerms(TermTreeType terms)
setTerms
in interface NegotiationOffer
terms
- the negotiation terms to setpublic NegotiationOfferContextType getNegotiationOfferContext()
getNegotiationOfferContext
in interface NegotiationOffer
public void setNegotiationOfferContext(NegotiationOfferContextType negOffercontext)
setNegotiationOfferContext
in interface NegotiationOffer
negOffercontext
- the negotiation offer context to setpublic NegotiationConstraintSectionType getNegotiationConstraints()
getNegotiationConstraints
in interface NegotiationOffer
public void setNegotiationConstraints(NegotiationConstraintSectionType constraints)
setNegotiationConstraints
in interface NegotiationOffer
constraints
- the negotiation constraints to setpublic NegotiationOfferType getXMLObject()
getXMLObject
in interface NegotiationOffer
public boolean validate()
validate
in class WSAGXmlType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |