org.ogf.graap.wsag.server.api.impl
Class FactoryContext
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Object,Object>
org.ogf.graap.wsag.server.api.impl.FactoryContext
- All Implemented Interfaces:
- Serializable, Cloneable, Map<Object,Object>, AgreementFactoryContext
public class FactoryContext
- extends HashMap<Object,Object>
- implements AgreementFactoryContext
The AgreementFactoryContext stores information that is accessible in the context of
agreement factory operations.
- Author:
- Oliver Waeldrich
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
FactoryContext
public FactoryContext(IAgreementFactory agreementFactory)
- Creates a new agreement factory context for a given factory.
- Parameters:
agreementFactory
- Creates a new context for a given agreement factory.
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 AgreementFactoryContext
- 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. All Rights Reserved.