org.ogf.graap.wsag.server.accounting
Interface IAccountingContext

All Known Implementing Classes:
AccountingContext

public interface IAccountingContext

IAccountingContext The accounting context is the basic reference to a particular accounting event. Accounting events are generated as part of the agreement monitoring and guarantee evaluation process. Each time a guarantee is evaluated an appropriate accounting event is generated. The accounting context specifies the guarantee that was evaluated, the evaluation result, and additional properties.

Author:
Oliver Waeldrich

Method Summary
 boolean getEvaluationResult()
           
 GuaranteeTermType getGuarantee()
           
 Map<String,Object> getProperties()
           
 void setEvaluationResult(boolean result)
           
 void setGuarantee(GuaranteeTermType guarantee)
           
 void setProperties(Map<String,Object> properties)
           
 

Method Detail

getGuarantee

GuaranteeTermType getGuarantee()
Returns:
the guarantee that was evaluated

setGuarantee

void setGuarantee(GuaranteeTermType guarantee)
Parameters:
guarantee - the guarantee that was evaluated

getEvaluationResult

boolean getEvaluationResult()
Returns:
the evaluation result

setEvaluationResult

void setEvaluationResult(boolean result)
Parameters:
result - the evaluation result

getProperties

Map<String,Object> getProperties()
Returns:
the evaluation context properties

setProperties

void setProperties(Map<String,Object> properties)
Parameters:
properties - the evaluation context properties


Copyright © 2008-2012. All Rights Reserved.