org.ogf.graap.wsag.server.api.impl
Class AgreementFactoryContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<Object,Object>
          extended by org.ogf.graap.wsag.server.api.impl.AgreementFactoryContext
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>, IAgreementFactoryContext

public class AgreementFactoryContext
extends HashMap<Object,Object>
implements IAgreementFactoryContext

The AgreementFactoryContext stores information that is accessible in the context of agreement factory operations.

Author:
Oliver Waeldrich
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
AgreementFactoryContext(IAgreementFactory agreementFactory)
          Creates a new agreement factory context for a given factory.
 
Method Summary
 IAgreementFactory getAgreementFactory()
          Each agreement factory has an associated context.
 void setAgreementFactory(IAgreementFactory agreementFactory)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

AgreementFactoryContext

public AgreementFactoryContext(IAgreementFactory agreementFactory)
Creates a new agreement factory context for a given factory.

Parameters:
agreementFactory - Creates a new context for a given agreement factory.
Method Detail

getAgreementFactory

public IAgreementFactory getAgreementFactory()
Each agreement factory has an associated context. This method provides a backward reference to the agreement factory object.

Specified by:
getAgreementFactory in interface IAgreementFactoryContext
Returns:
The agreement factory to which this context belongs to.

setAgreementFactory

public void setAgreementFactory(IAgreementFactory agreementFactory)

Parameters:
agreementFactory - the agreementFactory to set


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.