org.ogf.graap.wsag.samples.actions
Class SampleNegotiationOffer
java.lang.Object
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.NegotiationOfferTypeImpl
org.ogf.graap.wsag.samples.actions.SampleNegotiationOffer
- All Implemented Interfaces:
- NegotiationOffer
public class SampleNegotiationOffer
- extends NegotiationOfferTypeImpl
SampleNegotiationOffer
- Author:
- hrasheed
Methods inherited from class org.ogf.graap.wsag.api.types.NegotiationOfferTypeImpl |
getAgreementId, getContext, getName, getNegotiationConstraints, getNegotiationOfferContext, getOfferId, getTerms, getXMLObject, setAgreementId, setContext, setName, setNegotiationConstraints, setNegotiationOfferContext, setOfferId, 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 |
SampleNegotiationOffer
public SampleNegotiationOffer(AgreementTemplateType template)
- Creates a sample offer based on a template.
- Parameters:
template
- the XML representation of the template
SampleNegotiationOffer
public SampleNegotiationOffer(NegotiationOfferType negotiationOffer)
- Creates a sample agreement offer based on a negotiation offer.
- Parameters:
negotiationOffer
- 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.