com.ihr.xbrl.om.formula
Interface XBRLVariablesHolder

All Superinterfaces:
HasFormulaProcessor
All Known Implementing Classes:
XBRLAssertion, XBRLConsistencyAssertion, XBRLExistenceAssertion, XBRLFormula, XBRLValueAssertion, XBRLVariableSetResource

public interface XBRLVariablesHolder
extends HasFormulaProcessor

This interface defines the minimum methods that should be implemented by a class that contains a set of parameters or variables. The XBRLVariableResourceSet is one example and the XBRLConsistencyAssertion is another one

Author:
Ignacio

Field Summary
static int MODEL_DIMENSIONAL
           
static int MODEL_NON_DIMENSIONAL
           
 
Method Summary
 int getAspectModel()
          Returns either XBRLVariablesHolder.MODEL_DIMENSIONAL or XBRLVariablesHolder.MODEL_NON_DIMENSIONAL
 java.util.Collection<net.sf.saxon.s9api.QName> getBindableVariableNames()
          Access to a collection of QNames (Saxon s9api QNames) of all variables that are defined in this XBRLVariablesHolder
 java.util.Collection<XBRLFilterUse> getFilters()
          Returns a collection of XBRLFilterUse instance representing the use of filters associated to this XBRLVariablesHolder.
 XBRLVariableFormulaEvaluable getVariableResource(javax.xml.namespace.QName qVar)
          Access to the variable resource by its variable name
 net.sf.saxon.s9api.XdmValue getVariableValue(javax.xml.namespace.QName variableName)
          Access to the variable value using the variable name.
 
Methods inherited from interface com.ihr.xbrl.om.formula.HasFormulaProcessor
getProcessor
 

Field Detail

MODEL_DIMENSIONAL

static final int MODEL_DIMENSIONAL
See Also:
Constant Field Values

MODEL_NON_DIMENSIONAL

static final int MODEL_NON_DIMENSIONAL
See Also:
Constant Field Values
Method Detail

getVariableResource

XBRLVariableFormulaEvaluable getVariableResource(javax.xml.namespace.QName qVar)
Access to the variable resource by its variable name

Parameters:
variableName - QName
Returns:
XBRLVariableResource

getVariableValue

net.sf.saxon.s9api.XdmValue getVariableValue(javax.xml.namespace.QName variableName)
                                             throws XFValidationException
Access to the variable value using the variable name. The returned value corresponds to the last evaluated value and is not evaluated again. It was evaluated prior to the formula expression evaluation

Parameters:
variableName - javax.xml.namespace.QName
Returns:
XdmValue
Throws:
XFValidationException

getBindableVariableNames

java.util.Collection<net.sf.saxon.s9api.QName> getBindableVariableNames()
Access to a collection of QNames (Saxon s9api QNames) of all variables that are defined in this XBRLVariablesHolder

Returns:

getAspectModel

int getAspectModel()
Returns either XBRLVariablesHolder.MODEL_DIMENSIONAL or XBRLVariablesHolder.MODEL_NON_DIMENSIONAL

Returns:
one of the two constants

getFilters

java.util.Collection<XBRLFilterUse> getFilters()
Returns a collection of XBRLFilterUse instance representing the use of filters associated to this XBRLVariablesHolder. Used while checking variables in order to obtain global filters

Returns:


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa