public class XBRLAssertionResult
extends java.lang.Object
| Constructor and Description |
|---|
XBRLAssertionResult(XBRLFormulaResource assertion,
boolean result,
int cycle,
XBRLInstance inputInstance,
XBRLInstance afterFormulaInstance)
This method can be used to create an XBRLAssertionResult while looking if the
XBRLAssertion contains a specific user defined message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
XBRLInstance |
getAfterFormulaInstance()
Access to the XBRL Report that was created after the evaluation of the variable set
Returns null if the DTS Property FORMULA_PROCESSOR_RETAIN_AFTER_FORMULA_INTANCE_ON_ASSERTION_RESULTS is false.
|
java.lang.String |
getAssertionID()
Gets the assertion id.
|
XBRLFormulaResource |
getEvaluatedResources()
Access to the instance of the XBRLFormulaResource used during the assertion evaluation.
|
XBRLInstance |
getInputInstance()
Acess to the XBRL Input instance document on this assertion.
|
java.lang.String |
getMessage()
Gets the message.
|
TraceVariablesBind |
getTraceVariables()
If the API has stored information about variable binding for the evaluation of this assertion, this
method returns that information at this time.
|
int |
hashCode() |
boolean |
isNotOk()
Checks if is not ok.
|
boolean |
isOK()
Checks if is ok.
|
void |
setTraceVariablesInformation(TraceVariablesBind info)
The API uses this method to set the information about the variables that bind during the execution
of thie assetion.
|
java.lang.String |
toString() |
public XBRLAssertionResult(XBRLFormulaResource assertion, boolean result, int cycle, XBRLInstance inputInstance, XBRLInstance afterFormulaInstance) throws XFValidationException
assertion - the assertionresult - the resultcycle - the cycleinputInstance - the input instanceafterFormulaInstance - the after formula instanceXFValidationException - the XF validation exceptionpublic XBRLFormulaResource getEvaluatedResources()
public java.lang.String getAssertionID()
public boolean isOK()
public boolean isNotOk()
public java.lang.String getMessage()
public java.lang.String toString()
toString in class java.lang.Objectpublic XBRLInstance getInputInstance()
Returns null if the DTS Property FORMULA_PROCESSOR_RETAIN_INPUT_INTANCE_ON_ASSERTION_RESULTS is false
public void setTraceVariablesInformation(TraceVariablesBind info)
info - the new trace variables informationpublic TraceVariablesBind getTraceVariables()
This method returns null if no information exists
public XBRLInstance getAfterFormulaInstance()
Returns null if the DTS Property FORMULA_PROCESSOR_RETAIN_AFTER_FORMULA_INTANCE_ON_ASSERTION_RESULTS is false.
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object