|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XMLFragment
com.ihr.xbrl.om.exLinks.XLinkElement
com.ihr.xbrl.om.exLinks.XBRLPointerOfARelationship
com.ihr.xbrl.om.exLinks.XBRLResource
com.ihr.xbrl.om.formula.XBRLFormulaResource
com.ihr.xbrl.om.assertions.XBRLConsistencyAssertion
public class XBRLConsistencyAssertion
| Nested Class Summary | |
|---|---|
static class |
XBRLConsistencyAssertion.ConsistencyAssertionType
Indicates the type of the Consistency Assertion. |
static class |
XBRLConsistencyAssertion.XFConsistencyAssertionInvalidFact
|
| Nested classes/interfaces inherited from interface com.ihr.xbrl.om.XBRLValidation |
|---|
XBRLValidation.Direction |
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
absoluteAcceptanceRadiusQName
|
static javax.xml.namespace.QName |
ca_absolute_acceptance_radius_expression
Used for the creation of messages |
static javax.xml.namespace.QName |
ca_acceptance_radius
Used for the creation of messages |
static javax.xml.namespace.QName |
ca_aspect_matched_facts
Used for the creation of messages |
static javax.xml.namespace.QName |
ca_proportional_acceptance_radius_expression
Used for the creation of messages |
static javax.xml.namespace.QName |
proportionalAcceptanceRadiusQName
|
static javax.xml.namespace.QName |
resourceName
|
static javax.xml.namespace.QName |
strict
|
| Fields inherited from class com.ihr.xbrl.om.exLinks.XBRLResource |
|---|
nullResource |
| Fields inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
actuate, ACTUATE, ARC, arcrole, ARCROLE, ETITLE, EXTENDED, from, FROM, href, HREF, label, LABEL, LOCATOR, RESOURCE, role, ROLE, show, SHOW, SIMPLE, title, TITLE, to, TO, TYPE |
| Fields inherited from class com.ihr.xbrl.om.XMLFragment |
|---|
CONCEPT_LABEL, CONCEPT_QNAME, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, idQName, NO_POSITION, OrderComparator, PERIOD_TYPE, PERIOD_VALUE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER |
| Fields inherited from interface com.ihr.xbrl.om.formula.XBRLVariablesHolder |
|---|
MODEL_DIMENSIONAL, MODEL_NON_DIMENSIONAL |
| Constructor Summary | |
|---|---|
XBRLConsistencyAssertion(XBRLFormulaProcessor proc,
XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode resNode)
|
|
XBRLConsistencyAssertion(XBRLFormulaProcessor proc,
XBRLResource other)
|
|
| Method Summary | |
|---|---|
void |
collectAssertionVariablenames(java.util.HashSet<javax.xml.namespace.QName> allVars)
|
XBRLAssertionResult[] |
evaluateAssertion(XBRLInstance doc)
Required for evaluating the assertion. |
XBRLAssertionResult[] |
evaluateAssertionType(XBRLInstance instance)
|
java.lang.String |
getAbsoluteAcceptanceRadius()
|
int |
getAspectModel()
Returns either XBRLVariablesHolder.MODEL_DIMENSIONAL or XBRLVariablesHolder.MODEL_NON_DIMENSIONAL |
net.sf.saxon.s9api.XdmItem |
getAssertionContextItem()
|
java.lang.String |
getAssertionID()
Returns a text identifying the assertion from the linkbase syntax. this is either the value of the id attribute or the value of the xlink:label on the resource |
java.util.Collection<? extends XBRLVariableResourceUse> |
getAssertionMessageVariables()
|
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 |
XBRLConsistencyAssertion.ConsistencyAssertionType |
getConsistencyAssertionType()
|
java.lang.String |
getExpression()
Access to the xpath expression for this consistency assertion |
java.util.Collection<XBRLFilterUse> |
getFilters()
Returns a collection of XBRLFilterUse instance representing the use of filters associated to this XBRLVariablesHolder. |
java.lang.String |
getProportionalAcceptanceRadius()
|
net.sf.saxon.s9api.XdmValue |
getUncoveredAspectValue(int aspect,
javax.xml.namespace.QName dimName)
Used only for the implementation of the xff.uncovered-aspect(aspect, dimName) XPath function |
XBRLVariableFormulaEvaluable |
getVariableResource(javax.xml.namespace.QName variableName)
Access to the variable resource by its variable name |
XBRLVariableResourceUse |
getVariableUse(javax.xml.namespace.QName variableName)
Obtains the instance of the XBRLVariableResourceUse on this variable set using the variable name. |
net.sf.saxon.s9api.XdmValue |
getVariableValue(javax.xml.namespace.QName variableName)
Access to the variable value using the variable name. |
boolean |
isImplicitFilter()
xff.uncovered-aspect(aspect, dimName) XPath function must raise an error if the formula is not implicit filtering |
boolean |
isStrict()
|
void |
setAbsoluteAcceptanceRadius(java.lang.String expression)
|
void |
setProportionalAcceptanceRadius(java.lang.String expression)
|
void |
staticCheck()
Resources that has static checking implements this interface. |
| Methods inherited from class com.ihr.xbrl.om.formula.XBRLFormulaResource |
|---|
getProcessor |
| Methods inherited from class com.ihr.xbrl.om.exLinks.XBRLResource |
|---|
addChild, clear, equals, generateLocatorToNode, generateNode, getAttributes, getDTSBase, getFriendlyName, getFriendlyName, getParent, getRoleType, getType, getValidationReport, getValueKey, hashCode, invalidate, invalidate, isComplexType, isOnValidation, isSimpleType, setComplexType, setDTSBase, setId, setParent, setRole, setRoleType, setSimpleType, setValue, validate |
| Methods inherited from class com.ihr.xbrl.om.exLinks.XLinkElement |
|---|
getActuate, getArcrole, getFromTxt, getHRef, getLabel, getRole, getShow, getStaticLabel, getSType, getTitle, getToTxt, isRequiredAttribute, isValidAttribute, setActuate, setArcrole, setFrom, setHRef, setLabel, setShow, setSType, setTitle, setTo |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ihr.xbrl.om.assertions.EvaluableAssertion |
|---|
getLabel |
| Methods inherited from interface com.ihr.xbrl.om.formula.HasFormulaProcessor |
|---|
getProcessor |
| Methods inherited from interface com.ihr.xbrl.om.exLinks.XBRLRelationshipPoint |
|---|
addFromRelationship, addToRelationship, getFromRelationships, getToRelationships, removeFromRelationship, removeToRelationship |
| Field Detail |
|---|
public static final javax.xml.namespace.QName resourceName
public static final javax.xml.namespace.QName proportionalAcceptanceRadiusQName
public static final javax.xml.namespace.QName absoluteAcceptanceRadiusQName
public static final javax.xml.namespace.QName strict
public static final javax.xml.namespace.QName ca_aspect_matched_facts
public static final javax.xml.namespace.QName ca_acceptance_radius
public static final javax.xml.namespace.QName ca_absolute_acceptance_radius_expression
public static final javax.xml.namespace.QName ca_proportional_acceptance_radius_expression
| Constructor Detail |
|---|
public XBRLConsistencyAssertion(XBRLFormulaProcessor proc,
XBRLExtendedLink parent,
net.sf.saxon.s9api.XdmNode resNode)
throws XFValidationException
proc - parent - resNode -
XFValidationException
public XBRLConsistencyAssertion(XBRLFormulaProcessor proc,
XBRLResource other)
throws XFValidationException
proc - other -
XFValidationException| Method Detail |
|---|
public void setProportionalAcceptanceRadius(java.lang.String expression)
expression - public java.lang.String getProportionalAcceptanceRadius()
setProportionalAcceptanceRadius(String) methodpublic java.lang.String getAbsoluteAcceptanceRadius()
setAbsoluteAcceptanceRadius(String) methodpublic void setAbsoluteAcceptanceRadius(java.lang.String expression)
expression - public XBRLConsistencyAssertion.ConsistencyAssertionType getConsistencyAssertionType()
public XBRLAssertionResult[] evaluateAssertionType(XBRLInstance instance)
throws XFValidationException
evaluateAssertionType in interface AssertionEvaluationLocalXFValidationExceptionpublic java.lang.String getAssertionID()
getAssertionID in interface HasAssertionId
public void staticCheck()
throws XFValidationException
StaticCheckIn case of errors, the staticCheck method raises XFValidationException
staticCheck in interface StaticCheckXFValidationException - if static errors occurspublic boolean isStrict()
public int getAspectModel()
XBRLVariablesHolder
getAspectModel in interface XBRLVariablesHolderpublic java.util.Collection<net.sf.saxon.s9api.QName> getBindableVariableNames()
XBRLVariablesHolder
getBindableVariableNames in interface XBRLVariablesHolderpublic java.util.Collection<XBRLFilterUse> getFilters()
XBRLVariablesHolder
getFilters in interface XBRLVariablesHolderpublic XBRLVariableResourceUse getVariableUse(javax.xml.namespace.QName variableName)
The constructor of the XBRLVariableSetResource already calls readVariables so it is almost impossible this method raises XFRuntimeException
variableName -
XFRuntimeException - encapsulating a XFValidationException produced if this is the first time this function is called for the variable set and variables are read from the linkbasepublic XBRLVariableFormulaEvaluable getVariableResource(javax.xml.namespace.QName variableName)
XBRLVariablesHolder
getVariableResource in interface XBRLVariablesHolder
public net.sf.saxon.s9api.XdmValue getVariableValue(javax.xml.namespace.QName variableName)
throws XFValidationException
XBRLVariablesHolder
getVariableValue in interface XBRLVariablesHoldervariableName - javax.xml.namespace.QName
XFValidationExceptionpublic java.util.Collection<? extends XBRLVariableResourceUse> getAssertionMessageVariables()
getAssertionMessageVariables in interface XBRLMessageContextpublic void collectAssertionVariablenames(java.util.HashSet<javax.xml.namespace.QName> allVars)
collectAssertionVariablenames in interface XBRLMessageContextpublic net.sf.saxon.s9api.XdmItem getAssertionContextItem()
getAssertionContextItem in interface XBRLMessageContext
public net.sf.saxon.s9api.XdmValue getUncoveredAspectValue(int aspect,
javax.xml.namespace.QName dimName)
throws XFValidationException
HasUncoveredAspectValueResolver
getUncoveredAspectValue in interface HasUncoveredAspectValueResolverXFValidationExceptionpublic boolean isImplicitFilter()
HasUncoveredAspectValueResolver
isImplicitFilter in interface HasUncoveredAspectValueResolver
public XBRLAssertionResult[] evaluateAssertion(XBRLInstance doc)
throws XFValidationException
EvaluableAssertion
evaluateAssertion in interface EvaluableAssertionXFValidationExceptionpublic java.lang.String getExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||