|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ihr.xbrl.om.XBRLValidationReport
public class XBRLValidationReport
This objects holds the result of the XBRL validation
| Nested Class Summary | |
|---|---|
static class |
XBRLValidationReport.ReportParts
This enumeration can be used by report serializers. |
| Constructor Summary | |
|---|---|
XBRLValidationReport(DTSContainer dts)
Creates a new empty validation report |
|
| Method Summary | |
|---|---|
void |
addAssertionTest(XBRLAssertionResult xbrlAssertionResult)
|
void |
addException(XBRLValidationException e)
Adds a new error to this report. |
void |
addInconsistency(XBRLInconsistency e)
Adds an inconsistency to thie report. |
boolean |
assertionResultsAvailable()
If the validation process includes the formula processor. |
void |
clear()
Clear all exceptions and inconsistencies in this report |
XBRLAssertionResult[] |
getAssertionResult(java.lang.String assertionId)
returns an array of assertion results for a specific assertionId |
java.util.Collection<java.lang.String> |
getAssertionResultIDs()
|
DTSContainer |
getContainer()
Access to the DTSContainer object for which this XBRLValidationReport has been created |
int |
getCountAssertionsNotSatisfied(java.lang.String id)
|
int |
getCountAssertionsSatisfied(java.lang.String id)
|
java.util.Iterator<XBRLValidationException> |
getExceptions()
Access to the exceptions in this report |
int |
getExceptionsCount()
Returns the number of exceptions in the report |
XBRLInstance |
getFormulaProcessorGeneratedInstance()
If the DTS contains formula linkbases this method returns the output instance generated using formulas |
java.util.Iterator<XBRLInconsistency> |
getInconsistencies()
Access to the inconsistencies in this report |
int |
getInconsistenciesCount()
Returns the number of inconsistencies in the report |
void |
inconsistenciesAsExceptions()
Considers the inconsistencias as XBRLValidationExceptions Useful to be consistent with old versions of the library |
void |
merge(XBRLValidationReport other)
Adds to this report the content of another XBRLValidationReport. |
void |
removeExceptions(int code)
Remove from current report all exceptions that matches the code indicated in the parameter |
void |
serialize(XBRLValidationReportSerializer serializer)
Sends the current report to the report serializer. |
void |
setContainer(DTSContainer dts)
|
void |
setFormulaInstance(XBRLInstance instance)
Used by the processor internally to set the generated instance |
void |
throwExceptions()
If the report contains XBRL Errors this method takes one of them and throws it. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLValidationReport(DTSContainer dts)
| Method Detail |
|---|
public void setContainer(DTSContainer dts)
dts2 - public void merge(XBRLValidationReport other)
other - XBRLValidationReport whose content will be added to this report
public void inconsistenciesAsExceptions()
throws XBRLValidationException
XBRLValidationExceptionpublic void addException(XBRLValidationException e)
e - public void addInconsistency(XBRLInconsistency e)
e -
public void throwExceptions()
throws XBRLValidationException
XBRLValidationExceptionpublic java.util.Iterator<XBRLValidationException> getExceptions()
public java.util.Iterator<XBRLInconsistency> getInconsistencies()
public void clear()
public void removeExceptions(int code)
code - a constact defined in the XBRLValidationException classpublic XBRLInstance getFormulaProcessorGeneratedInstance()
public void setFormulaInstance(XBRLInstance instance)
instance - public DTSContainer getContainer()
public void serialize(XBRLValidationReportSerializer serializer)
serializer - public int getExceptionsCount()
public int getInconsistenciesCount()
public void addAssertionTest(XBRLAssertionResult xbrlAssertionResult)
xbrlAssertionResult - public int getCountAssertionsSatisfied(java.lang.String id)
public int getCountAssertionsNotSatisfied(java.lang.String id)
public java.util.Collection<java.lang.String> getAssertionResultIDs()
public boolean assertionResultsAvailable()
public XBRLAssertionResult[] getAssertionResult(java.lang.String assertionId)
assertionId - String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||