public class XBRLlrrAndRelationshipConstraints
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XBRLlrrAndRelationshipConstraints.ConstraintsBase
The Class ConstraintsBase.
|
static class |
XBRLlrrAndRelationshipConstraints.ExtendedLinkConstraints
The Class ExtendedLinkConstraints.
|
static interface |
XBRLlrrAndRelationshipConstraints.ExtraRelationshipValidationInterface
This interface defines a method for classes implementing additional validation constraints
for a relationship that cannot be implemented in a generic way.
|
static class |
XBRLlrrAndRelationshipConstraints.RelationshipConstraints
The Class RelationshipConstraintsBase.
|
static interface |
XBRLlrrAndRelationshipConstraints.ValidateRelationshipAnchor
Used to validate from and to parts of a relationship.
|
| Constructor and Description |
|---|
XBRLlrrAndRelationshipConstraints(DTSContainer dts)
Disallow creating new instances of this processor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addArcroleConstraints(java.lang.String arcRole,
XBRLlrrAndRelationshipConstraints.RelationshipConstraints newConstraints)
Adds new constraints to this processor.
|
void |
addExtendedLinkConstraints(javax.xml.namespace.QName linkType,
XBRLlrrAndRelationshipConstraints.ExtendedLinkConstraints newConstraints)
Adds new constraints to this processor.
|
void |
clear()
Releases all constraints read and memory used on this class.
|
DTSContainer |
getContainer()
Access to the DTSContainer .
|
XBRLlrrAndRelationshipConstraints.ExtendedLinkConstraints |
getExtendedLinkConstraints(javax.xml.namespace.QName lbType)
Gets the extended link constraints.
|
XBRLlrrAndRelationshipConstraints.RelationshipConstraints |
getRelationshipConstraints(java.lang.String arcrole)
Gets the relationship constraints.
|
XBRLValidationReport |
validateRelationship(XBRLExtendedLink parent,
XBRLRelationship rel)
Validates the relationship received against the constraints stored in this class.
|
public XBRLlrrAndRelationshipConstraints(DTSContainer dts)
dts - the dtspublic void clear()
After calling this method it will not be possible to validate new relationships.
public DTSContainer getContainer()
public void addArcroleConstraints(java.lang.String arcRole,
XBRLlrrAndRelationshipConstraints.RelationshipConstraints newConstraints)
arcRole - the arc rolenewConstraints - the new constraintspublic void addExtendedLinkConstraints(javax.xml.namespace.QName linkType,
XBRLlrrAndRelationshipConstraints.ExtendedLinkConstraints newConstraints)
linkType - the linkbase type the constraints will be added tonewConstraints - the new constraintspublic XBRLValidationReport validateRelationship(XBRLExtendedLink parent, XBRLRelationship rel)
parent - the extended link that will be the repationship parentrel - the relationship to validatepublic XBRLlrrAndRelationshipConstraints.RelationshipConstraints getRelationshipConstraints(java.lang.String arcrole)
arcrole - the arcrolepublic XBRLlrrAndRelationshipConstraints.ExtendedLinkConstraints getExtendedLinkConstraints(javax.xml.namespace.QName lbType)
lbType - the lb typeCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa