|
||||||||||
| 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.taxonomy.XBRLRoleAndArcroleTypes
public abstract class XBRLRoleAndArcroleTypes
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.ihr.xbrl.om.XBRLValidation |
|---|
XBRLValidation.Direction |
| Field Summary |
|---|
| 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 |
| Constructor Summary | |
|---|---|
XBRLRoleAndArcroleTypes(DTSContainer newDTS,
XBRLRoleAndArcroleTypes other)
|
|
XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
|
|
| Method Summary | |
|---|---|
void |
addRef(XBRLDocument doc)
When a role or arcrole is referenced via roleRef its is annotated here |
void |
addUsedOn(XBRLUsedOn on)
|
boolean |
equals(java.lang.Object other)
Sets a new XPathFunctionResolver for this object |
XBRLLocator |
generateLocatorToNode(boolean relativize,
java.net.URI base)
Generates an XBRLLocator object pointing to this node |
org.jdom.Element |
generateNode(boolean relativize,
java.net.URI base)
Serializes to a jdom Element the representation of the properties of this Information Item This method should be called from classes derived from this class |
java.lang.String |
getDefinition()
Access to the [Definition] property. |
java.util.Iterator<XMLFragment> |
getElements()
For complex type resources this returns an iterator with all children XML fragments Tthis method may be overwriten by other classes in the hierarchy |
java.net.URI |
getHRefURI()
Creates a URI pointing to the roleType or arcroleType |
XBRLTaxonomy |
getParent()
access to the [Parent] property. |
java.lang.String |
getURI()
Access to the [Role URI]/[Arcrole URI] property |
java.util.Iterator<XBRLUsedOn> |
getUsedOn()
|
XBRLValidationReport |
getValidationReport()
Access to the last stored validation report |
int |
hashCode()
|
void |
invalidate()
Invalidates the XBRLFact for XBRL validation. |
boolean |
invalidate(XBRLValidation.Direction dir)
Invalidates this object and the elements in the XML tree according with the parameter in dir This method is used by GUI tools that requires to reset validation before a manual validation cycle is started |
boolean |
isOnValidation()
When validation is a recursive process, this function returns true if the object going to be validated is already under validation. |
boolean |
isStatic()
Returns true for role types and arcrole types defined in the XBRL 2.1 specification |
boolean |
isUsedOn(javax.xml.namespace.QName here)
returns true if the element represented by the QName can legally use this XBRLRoleType This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the DTS and used in generic linkbases and roles properly defined in XBRL linkbases |
boolean |
isVirtual()
Returns true for role types not referenced using roleRef elements or arcrole type not referenced via arcroleRef elements but valid because they are used within custom extended linkbases. |
void |
removeUsedOn(XBRLUsedOn on)
|
boolean |
sameUsedOn(XBRLRoleAndArcroleTypes o)
|
void |
setDefinition(java.lang.String newValue)
Sets the definition string for a role and arcrole types. |
void |
setId(java.lang.String id)
Sets the content of the id attribute of this element the ID MUST not have any space, but null is allowed and removes an id from an XML Fragment. |
void |
setParent(XBRLTaxonomy newParent)
Changes the [Parent] property. |
void |
setStatic(boolean newValue)
Used by the API when a static role or arcrole URI is defined |
void |
setURI(java.lang.String newURI)
Sets or changes the URI of this role type. |
void |
setVirtual(boolean newValue)
Used by the APO when a virtual role or arcrole URI is defined |
XBRLValidationReport |
validate(XBRLPlugInProcessor proc)
Executes validation on the instance object and returns a validation report. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XBRLRoleAndArcroleTypes(XBRLRoleAndArcroleTypes other)
public XBRLRoleAndArcroleTypes(DTSContainer newDTS,
XBRLRoleAndArcroleTypes other)
| Method Detail |
|---|
public org.jdom.Element generateNode(boolean relativize,
java.net.URI base)
throws XBRLSerializationException
XMLFragment
generateNode in class XMLFragmentrelativize - boolean indicating if URIs should be relativized to the base URI (see next argument)base - the URI to which some attributes of this object should be relativided
XBRLSerializationExceptionpublic java.lang.String getDefinition()
public void setDefinition(java.lang.String newValue)
newValue - public XBRLTaxonomy getParent()
getParent in interface XMLHasParentgetParent in class XMLFragment
public void setId(java.lang.String id)
throws XBRLInconsistentDTSException
XMLFragment
setId in class XMLFragmentid - the new ID
XBRLInconsistentDTSException - if the id is not lexicographically validpublic void setParent(XBRLTaxonomy newParent)
newParent -
XBRLValidationExceptionpublic java.util.Iterator<XBRLUsedOn> getUsedOn()
public void addUsedOn(XBRLUsedOn on)
on - public void removeUsedOn(XBRLUsedOn on)
on - public boolean isUsedOn(javax.xml.namespace.QName here)
This method considers roles defined in the XBRL 2.1 specification, virtual roles undefined in the DTS and used in generic linkbases and roles properly defined in XBRL linkbases
here - the node element to check for
public boolean isStatic()
public boolean isVirtual()
public void setStatic(boolean newValue)
newValue - public void setVirtual(boolean newValue)
newValue - public java.lang.String getURI()
public void setURI(java.lang.String newURI)
newURI - public boolean equals(java.lang.Object other)
XMLFragment
equals in class XMLFragmentpublic int hashCode()
hashCode in class XMLFragmentpublic boolean sameUsedOn(XBRLRoleAndArcroleTypes o)
public java.net.URI getHRefURI()
XBRLValidationException - if duplicade ids were foundpublic void addRef(XBRLDocument doc)
doc - public java.util.Iterator<XMLFragment> getElements()
XMLFragment
getElements in class XMLFragment
public XBRLLocator generateLocatorToNode(boolean relativize,
java.net.URI base)
throws java.net.URISyntaxException
relativize - base -
java.net.URISyntaxExceptionpublic XBRLValidationReport getValidationReport()
XBRLValidation
getValidationReport in interface XBRLValidationpublic void invalidate()
XBRLValidation
invalidate in interface XBRLValidationpublic boolean invalidate(XBRLValidation.Direction dir)
XBRLValidationThis method is used by GUI tools that requires to reset validation before a manual validation cycle is started
invalidate in interface XBRLValidationdir - see the XBRLValidation.Direction enumeration for more information.public XBRLValidationReport validate(XBRLPlugInProcessor proc)
XBRLValidation
The validation result may be cached internally. A call to XBRLValidation.invalidate(Direction) clears the validation cache.
validate in interface XBRLValidationproc - the processor under which the object is going to be validated. Note the same object can be validated on multiple processors.
public boolean isOnValidation()
XBRLValidation
isOnValidation in interface XBRLValidation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||