org.ogf.graap.wsag.samples.actions
Class SampleAgreementOffer
java.lang.Object
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.AgreementOfferType
org.ogf.graap.wsag.samples.actions.SampleAgreementOffer
- All Implemented Interfaces:
- AgreementOffer
public class SampleAgreementOffer
- extends AgreementOfferType
SampleNegotiationAgreementOffer
- Author:
- hrasheed
Methods inherited from class org.ogf.graap.wsag.api.types.AgreementOfferType |
getAgreementId, getContext, getInitiatorEPR, getName, getNoncriticalExtensions, getTerms, getXMLObject, setAgreementId, setContext, setInitiatorEPR, setName, setNoncriticalExtensions, setTerms, validate |
Methods inherited from class org.ogf.graap.wsag.api.types.WSAGXmlType |
addObserver, countObservers, deleteObserver, deleteObservers, getObservable, hasChanged, notifyObservers, notifyObservers, processTemplate, setChanged, setObservable, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleAgreementOffer
public SampleAgreementOffer(AgreementTemplateType template)
- Creates a SampleNegotiationAgreementOffer from a template.
- Parameters:
template
- the XML representation of the template
SampleAgreementOffer
public SampleAgreementOffer(NegotiationOfferType negotiationOffer)
- Creates a SampleNegotiationAgreementOffer from a negotiation offer.
- Parameters:
negotiationOffer
- the XML representation of the negotiation offer
SampleAgreementOffer
public SampleAgreementOffer(AgreementType offer)
- Creates a SampleNegotiationAgreementOffer from a offer.
- Parameters:
offer
- the XML representation of the negotiation offer
getResourceDefinition
public ResourcesType getResourceDefinition()
- Returns:
- the resource definition
- See Also:
ComputeResourcePattern.getResourceDefinition()
getTimeConstraint
public TimeConstraintType getTimeConstraint()
- Returns:
- the specified time constraints
- See Also:
AdvanceReservationPattern.getTimeConstraint()
Copyright © 2008-2012. All Rights Reserved.