org.ogf.graap.wsag.server.accounting
Class AccountingContext

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by org.ogf.graap.wsag.server.accounting.AccountingContext
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>, IAccountingContext

public class AccountingContext
extends HashMap<String,Object>
implements IAccountingContext

SimpleAccountingContext

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>
 
Constructor Summary
AccountingContext()
           
 
Method Summary
 boolean getEvaluationResult()
          
 GuaranteeTermType getGuarantee()
          
 Map<String,Object> getProperties()
          
 void setEvaluationResult(boolean result)
          
 void setGuarantee(GuaranteeTermType guarantee)
          
 void setProperties(Map<String,Object> properties)
          
 
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
equals, hashCode
 

Constructor Detail

AccountingContext

public AccountingContext()
Method Detail

getEvaluationResult

public boolean getEvaluationResult()

Specified by:
getEvaluationResult in interface IAccountingContext
Returns:
the evaluation result
See Also:
IAccountingContext.getEvaluationResult()

getGuarantee

public GuaranteeTermType getGuarantee()

Specified by:
getGuarantee in interface IAccountingContext
Returns:
the guarantee that was evaluated
See Also:
IAccountingContext.getGuarantee()

getProperties

public Map<String,Object> getProperties()

Specified by:
getProperties in interface IAccountingContext
Returns:
the evaluation context properties
See Also:
IAccountingContext.getProperties()

setEvaluationResult

public void setEvaluationResult(boolean result)

Specified by:
setEvaluationResult in interface IAccountingContext
Parameters:
result - the evaluation result
See Also:
IAccountingContext.setEvaluationResult(boolean)

setGuarantee

public void setGuarantee(GuaranteeTermType guarantee)

Specified by:
setGuarantee in interface IAccountingContext
Parameters:
guarantee - the guarantee that was evaluated
See Also:
IAccountingContext.setGuarantee(org.ogf.schemas.graap.wsAgreement.GuaranteeTermType )

setProperties

public void setProperties(Map<String,Object> properties)

Specified by:
setProperties in interface IAccountingContext
Parameters:
properties - the evaluation context properties
See Also:
IAccountingContext.setProperties(java.util.Map)


Copyright © 2008-2012. All Rights Reserved.