|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ogf.graap.wsag.client.api.impl.AbstractClient
org.ogf.graap.wsag.client.api.impl.AgreementClientImpl
org.ogf.graap.wsag.client.api.local.LocalAgreementClient
public class LocalAgreementClient
LocalAgreementClientImpl
| Field Summary |
|---|
| Fields inherited from interface org.ogf.graap.wsag.client.api.AgreementClient |
|---|
FACTORY |
| Constructor Summary | |
|---|---|
LocalAgreementClient(Agreement agreement)
Creates a new local agreement instance using the given agreement object. |
|
| Method Summary | |
|---|---|
AgreementClient |
clone()
Returns a copy of the client. |
void |
destroy()
Destroys agreement instance. |
String |
getAgreementId()
Returns the id of the agreement instance. |
AgreementContextType |
getContext()
Returns the context of the agreement instance. |
GuaranteeTermStateType[] |
getGuaranteeTermStates()
Returns the state for the individual guarantee terms of the agreement instance. |
String |
getName()
Returns the name of the agreement instance. |
RemoteClient |
getRemoteClient()
Returns the remote client used by this implementation in order to communicate with the WSAG4J server. |
AgreementPropertiesType |
getResourceProperties()
Returns the resource properties of the agreement instance. |
ServiceTermStateType[] |
getServiceTermStates()
Returns the state for the individual service terms of the agreement instance. |
AgreementStateType |
getState()
Returns the state of the agreement instance. |
TermTreeType |
getTerms()
Returns the terms of the agreement instance. |
void |
terminate(TerminateInputType reason)
Terminates the agreement instance. |
| Methods inherited from class org.ogf.graap.wsag.client.api.impl.AgreementClientImpl |
|---|
getGuaranteeTermState, getServiceTermState, terminate |
| Methods inherited from class org.ogf.graap.wsag.client.api.impl.AbstractClient |
|---|
getProperties, getRemoteReference, getSecurityProperties, isUsingTrace, setProperties, setTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalAgreementClient(Agreement agreement)
agreement - the agreement instance| Method Detail |
|---|
public String getName()
getName in interface AgreementClientgetName in class AgreementClientImplAgreement.getName()public String getAgreementId()
getAgreementId in interface AgreementClientgetAgreementId in class AgreementClientImplAgreement.getAgreementId()public AgreementContextType getContext()
getContext in interface AgreementClientgetContext in class AgreementClientImplAgreement.getContext()public TermTreeType getTerms()
getTerms in interface AgreementClientgetTerms in class AgreementClientImplAgreement.getTerms()public void terminate(TerminateInputType reason)
terminate in interface AgreementClientterminate in class AgreementClientImplreason - a domain-specific termination reasonAgreement.terminate(org.ogf.schemas.graap.wsAgreement.TerminateInputType)public AgreementStateType getState()
getState in interface AgreementClientgetState in class AgreementClientImplAgreement.getState()public GuaranteeTermStateType[] getGuaranteeTermStates()
getGuaranteeTermStates in interface AgreementClientgetGuaranteeTermStates in class AgreementClientImplAgreement.getGuaranteeTermStates()public ServiceTermStateType[] getServiceTermStates()
getServiceTermStates in interface AgreementClientgetServiceTermStates in class AgreementClientImplAgreement.getServiceTermStates()
public AgreementClient clone()
throws CloneNotSupportedException
clone in interface AgreementClientclone in class AgreementClientImplCloneNotSupportedException - indicates that the client implementation does not support cloningpublic RemoteClient getRemoteClient()
getRemoteClient in interface AgreementClientgetRemoteClient in class AbstractClientorg.ogf.graap.wsag.client.api.AgreementService#getRemoteClient()
public void destroy()
throws ResourceUnknownException,
ResourceUnavailableException
destroy in interface AgreementClientdestroy in class AgreementClientImplResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailableAgreementClientImpl.destroy()
public AgreementPropertiesType getResourceProperties()
throws ResourceUnknownException,
ResourceUnavailableException
getResourceProperties in interface AgreementClientgetResourceProperties in class AgreementClientImplResourceUnknownException - the remote resource is unknown
ResourceUnavailableException - the remote resource is unavailableAgreementClient.getResourceProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||