org.ogf.graap.wsag.api
Interface AgreementOffer
- All Known Implementing Classes:
- AdvanceReservationComputeJobOffer, AgreementOfferType, ComputeJobOffer, SampleAgreementOffer
public interface AgreementOffer
The AgreementOffer interface implements the required methods to access the properties of an agreement
offer. Agreement offers are used to create new Agreement
instances with an AgreementFactory
.
- Author:
- Oliver Waeldrich
- See Also:
Agreement
,
AgreementFactory
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
getInitiatorEPR
EndpointReferenceType getInitiatorEPR()
- Returns:
- the initiator agreement EPR
setInitiatorEPR
void setInitiatorEPR(EndpointReferenceType initiator)
- Parameters:
initiator
- the initiator agreement EPR to set
getNoncriticalExtensions
NoncriticalExtensionType[] getNoncriticalExtensions()
- Returns:
- the non-critical extensions of an offer
setNoncriticalExtensions
void setNoncriticalExtensions(NoncriticalExtensionType[] extension)
- Parameters:
extension
- the non-critical extensions to set
getXMLObject
AgreementType getXMLObject()
- Returns:
- the XML representation of the offer
Copyright © 2008-2012. All Rights Reserved.