org.ogf.graap.wsag.server.api.impl
Class PendingAgreementImpl
java.lang.Object
org.ogf.graap.wsag.api.types.WSAGXmlType
org.ogf.graap.wsag.api.types.AbstractAgreementType
org.ogf.graap.wsag.server.api.impl.PendingAgreementImpl
- All Implemented Interfaces:
- Agreement
public class PendingAgreementImpl
- extends AbstractAgreementType
PendingAgreementImpl
Simple container type for a pending agreement instance.
- Author:
- Oliver Waeldrich
Methods inherited from class org.ogf.graap.wsag.api.types.AbstractAgreementType |
getAgreementId, getAgreementInstance, getContext, getExecutionContext, getGuaranteeTermStates, getImplementationClass, getName, getServiceTermStates, getState, getTerms, getTransientExecutionContext, getXMLObject, initialize, initialize, notifyReinitialized, notifyReload, setAgreementId, setContext, setGuaranteeTermStates, setName, setServiceTermStates, setState, setTerms, setXmlObject, 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 |
PendingAgreementImpl
public PendingAgreementImpl(AgreementOffer offer)
- Creates a pending agreement for an offer.
- Parameters:
offer
- the agreement offer
PendingAgreementImpl
public PendingAgreementImpl(AgreementPropertiesType properties)
- Creates a pending agreement for an properties.
- Parameters:
properties
- the agreement properties
terminate
public void terminate(TerminateInputType reason)
- Just change the state to pending and terminating.
- Parameters:
reason
- the termination reason
Copyright © 2008-2012. All Rights Reserved.