|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Agreement
Agreement interface used by the server module. It provides the required methods to access the properties of
the agreement and to terminate the agreement instance. Moreover, it provides access to the domains-specific
agreement implementation via the getAgreementInstance()
method.
AgreementFactory
Method Summary | |
---|---|
String |
getAgreementId()
Returns the agreement id. |
AbstractAgreementType |
getAgreementInstance()
Returns a domain-specific agreement implementation. |
AgreementContextType |
getContext()
|
GuaranteeTermStateType[] |
getGuaranteeTermStates()
|
String |
getName()
Returns the agreement name. |
ServiceTermStateType[] |
getServiceTermStates()
|
AgreementStateType |
getState()
|
TermTreeType |
getTerms()
|
void |
terminate(TerminateInputType reason)
Terminates an agreement. |
Method Detail |
---|
String getName()
String getAgreementId()
AbstractAgreementType getAgreementInstance()
AbstractAgreementType
implements the
domain-specific termination method and stored the agreement properties. The
AbstractAgreementType.getXMLObject()
returns the actual properties of an agreement
implementation. These properties must be valid at all time, i.e. if an agreement implementation
overrides the getState()
method the implementation must make sure that the agreement
properties are updated with the returned state.
AgreementContextType getContext()
TermTreeType getTerms()
void terminate(TerminateInputType reason)
reason
- termination reasonAgreementStateType getState()
GuaranteeTermStateType[] getGuaranteeTermStates()
ServiceTermStateType[] getServiceTermStates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |