public class XBRLArcroleType extends XBRLRoleAndArcroleTypes implements java.io.Serializable
An arcrole type definition can be of 3 types:
XMLFragment.NodeNameIterator<T extends XMLFragment>, XMLFragment.NodeTypeIterator<T extends XMLFragment>XBRLValidation.Direction| Modifier and Type | Field and Description | 
|---|---|
| static int | ANYANY cycle is allowed (bitmap), DIRECTED and UNDIRECTED | 
| static javax.xml.namespace.QName | arcroleAttributeThe Constant arcroleAttribute. | 
| static javax.xml.namespace.QName | arcroleTypeQNameThe Constant arcroleTypeQName. | 
| static javax.xml.namespace.QName | cyclesAllowedAttributeThe Constant cyclesAllowedAttribute. | 
| static int | NONENONE (no) cycles are allowed, this includes DIRECTED and UNDIRECTED cycles detection. | 
| static net.sf.saxon.om.StructuredQName | sqnArcroleTypeQNameThe Constant sqnArcroleTypeQName. | 
| static XBRLArcroleType | STANDARD_CONCEPT_LABELThe standard concept label. | 
| static XBRLArcroleType | STANDARD_CONCEPT_REFERENCEThe standard concept reference. | 
| static XBRLArcroleType | STANDARD_ESSENCE_ALIASThe standard essence alias. | 
| static XBRLArcroleType | STANDARD_FACT_FOOTNOTEStatic arcroles. | 
| static XBRLArcroleType | STANDARD_GENERAL_SPECIALThe standard general special. | 
| static XBRLArcroleType | STANDARD_PARENT_CHILDThe standard parent child. | 
| static XBRLArcroleType | STANDARD_REQUIRES_ELEMENTThe standard requires element. | 
| static XBRLArcroleType | STANDARD_SIMILAR_TUPLESThe standard similar tuples. | 
| static XBRLArcroleType | STANDARD_SUMMATION_ITEMThe standard summation item. | 
| static int | UNDIRECTEDUNDIRECTED cycles are allowed (bitmap). | 
ADD_NAMESPACE_INHERIT, baseQName, CONCEPT_LABEL, CONCEPT_QNAME, EASY_TO_READ, ELEMENT_LABEL, EMPTYRELATIONSHIPSITERATORINSTANCE, EMPTYXMLFRAGMENTITERATORINSTANCE, FACT_CONCEPT_DATATYPE, FACT_CONCEPT_LABEL, FACT_QNAME, FACT_VALUE, HIDE_COMMON_ACCURACY, idQName, langQName, nil, NO_POSITION, OrderComparator, OrderComparator2, OrderComparatorReverse, PERIOD_BOP, PERIOD_TYPE, PERIOD_VALUE, RELATIONSHIP_TYPE, RESOURCE_TYPE, SHORT_TEXT, SOURCE_DOCUMENT, XPATH, XPOINTER| Constructor and Description | 
|---|
| XBRLArcroleType(DTSContainer dts,
               boolean virtual)Used to create virtual arcrole types. | 
| XBRLArcroleType(DTSContainer dts,
               java.lang.String uri,
               int cyclesAllowed)Creates a new XBRLArcroleType for the specific values of the uri and cyclesAllowed. | 
| XBRLArcroleType(DTSContainer newDTS,
               XBRLArcroleType other)Instantiates a new XBRL arcrole type. | 
| XBRLArcroleType(XMLFragment node)Creates a new XBRLArcroleType object from a node in a file. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | addUse(XBRLRelationship rel)Adds the use. | 
| void | clear()Frees-up the memory used by this object. | 
| XBRLArcroleType | clone()Clone. | 
| XBRLArcroleType | clone(DTSContainer dts)Clone. | 
| boolean | delUse(XBRLRelationship rel)Del use. | 
| boolean | equals(java.lang.Object other)Equals. | 
| XBRLArcroleType | generateNode()Generate node. | 
| XBRLArcroleRef | getArcroleRef(DTSContainer dts)Creates an XBRLArcroleRef object that points to this arcroleRef and
 that can be serialized. | 
| int | getCyclesAllowed()Returns an integer constant according to the value of the cyclesAllowed
 attribute on the arcrole type definition. | 
| static java.lang.String | getCyclesAllowed(int code)Gets the cycles allowed. | 
| static java.lang.Integer | getCyclesAllowed(java.lang.String code)Gets the cycles allowed. | 
| net.sf.saxon.tree.linked.NodeImpl | getFirstChild() | 
| java.lang.String | getFriendlyName()Gets the friendly name. | 
| java.lang.String | getFriendlyName(int modifiers)Gets the friendly name. | 
| net.sf.saxon.tree.linked.NodeImpl | getLastChild() | 
| int | getNumberOfChildren() | 
| java.util.Iterator<XBRLRelationship> | getUses()Access to the [arcrole uses] property
 The returned objects in the iterator are instances of
 XBRLRelationship elements. | 
| boolean | hasChildNodes() | 
| int | hashCode()Hash code. | 
| static XBRLArcroleType | make(DTSContainer dts)Make. | 
| void | setCyclesAllowed(int cyclesAllowedCode)Sets the cycles allowed. | 
| void | setCyclesAllowed(java.lang.String cyclesAllowedValue)Sets the cycles allowed. | 
| java.lang.String | toString()To string. | 
addRef, addUsedOn, compareTo, getCode, getDefinition, getElements, getFriendlyName, getHRefURI, getParentDocument, getRoleAndArcroleURI, getUsedOn, getValidationReport, invalidate, invalidate, isOnValidation, isStatic, isUsedOn, isVirtual, removeUsedOn, sameUsedOn, setCode, setDefinition, setId, setRawParentXBRL, setRoleAndArcroleURI, setStatic, setVirtual, validateaddAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, addChild, addChildArray, addChildAt, addChildNode, addChildNodeArray, addChildNodeAt, addChildNodeInBatch, addComment, addFromRelationship, addNamespace, addNamespace, addPropertyChangeListener, addToRelationship, changeBase, checkBase, childExists, commitBatch, copy, createComment, delAttribute, delAttribute, delete, equalXdmValues, findFirstNodeOfClass, findPosition, firePropertyChangeEvent, generateId, generateLocatorToNode, generatePrefix, getAllAttributes, getAttribute, getAttributeAtomicValue, getAttributeBooleanValue, getAttributeGroundedValue, getAttributeQNameValue, getAttributes, getAttributeValue, getBase, getBase, getBooleanValue, getChildren, getChildStringValue, getConfiguration, getContainer, getContainerDocumentURI, getDocument, getElement, getElement, getFirstChildNoComment, getFragment, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getFromRelationships, getId, getInScopeNamespaces, getLang, getLastChildNoComment, getNamePool, getNamespaceBinding, getNamespaceURI, getNextSiblingNoComment, getNodeName, getNthElement, getNumberOfElements, getNumberOfFromRelationships, getNumberOfToRelationships, getOrGenerateId, getParentXBRL, getPrefix, getPrefixes, getPropertyChangeListeners, getQNameValue, getRelationshipsBases, getRelationshipsChain, getRelationshipTypes, getStaticNamespace, getStringValue, getToolTipText, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getToRelationships, getValue, getXPath, getXPathFromXPointer, getXPathNamespaceContext, getXPathToRoot, getXPointerElementScheme, getXPointerElementScheme, getXPointerShorthandScheme, getXPointerXPath2Scheme, initialise, internalToString, isAttribute, isChangeHashEnabled, isDead, isEmpty, isHashDependsOnAtribute, isNamespaceDefined, isNil, moveNamespacesUp, objEquals, objHashCode, reindex, removeChild, removeChildNode, removeFromRelationship, removeNamespace, removePropertyChangeListener, removeToRelationship, replace, replaceChild, replaceStringValue, resetElements, resolveHRef, s_equal2_xp2, s_equal2_xp2, s_equal2, s_equal2, s_equal2, s_equal2, setAttributeList, setAttributes, setBase, setChildrenClone, setDirty, setElements, setLang, setModified, setNamespaceDeclarations, setNamespaces, setNil, setNodeName, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, valueEquals, xEqualaddAttribute, addNamespace, generateId, getAttributeList, getAttributeValue, getAttributeValue, getBaseURI, getColumnNumber, getDeclaredNamespaces, getDocumentRoot, getLineNumber, getNameCode, getNamespaceList, getNodeKind, getRoot, getSchemaType, getSystemId, getTypeAnnotation, getURIForPrefix, gsetAttributeCollection, isId, isInScopeNamespace, isNilled, iteratePrefixes, removeAttribute, removeTypeAnnotation, rename, setLocation, setNameCode, setNamespaceList, setSystemId, setTypeAnnotationatomize, compareOrder, comparePosition, getDisplayName, getDocumentNumber, getFingerprint, getLocalPart, getNextInDocument, getNextSibling, getParent, getPhysicalRoot, getPrefix, getPreviousInDocument, getPreviousSibling, getPublicId, getSiblingPosition, getSuccessorElement, getURI, head, insertSiblings, isDeleted, isIdref, isSameNodeInfo, iterate, iterateAxis, iterateAxis, newBuilder, replacepublic static final javax.xml.namespace.QName arcroleTypeQName
public static final net.sf.saxon.om.StructuredQName sqnArcroleTypeQName
public static final javax.xml.namespace.QName arcroleAttribute
public static final javax.xml.namespace.QName cyclesAllowedAttribute
public static final int ANY
public static final int UNDIRECTED
public static final int NONE
public static final XBRLArcroleType STANDARD_FACT_FOOTNOTE
public static final XBRLArcroleType STANDARD_CONCEPT_LABEL
public static final XBRLArcroleType STANDARD_CONCEPT_REFERENCE
public static final XBRLArcroleType STANDARD_PARENT_CHILD
public static final XBRLArcroleType STANDARD_SUMMATION_ITEM
public static final XBRLArcroleType STANDARD_GENERAL_SPECIAL
public static final XBRLArcroleType STANDARD_ESSENCE_ALIAS
public static final XBRLArcroleType STANDARD_SIMILAR_TUPLES
public static final XBRLArcroleType STANDARD_REQUIRES_ELEMENT
public XBRLArcroleType(XMLFragment node) throws XBRLValidationException
node - the nodeXBRLValidationException - the XBRL validation exceptionpublic XBRLArcroleType(DTSContainer dts, java.lang.String uri, int cyclesAllowed)
dts - the dtsuri - the uricyclesAllowed - the cycles allowedpublic XBRLArcroleType(DTSContainer newDTS, XBRLArcroleType other)
newDTS - the new dtsother - the otherpublic XBRLArcroleType(DTSContainer dts, boolean virtual)
dts - the dtsvirtual - the virtualpublic static XBRLArcroleType make(DTSContainer dts)
dts - the dtspublic XBRLArcroleType clone()
clone in class XMLFragmentpublic XBRLArcroleType clone(DTSContainer dts)
clone in class XMLFragmentdts - the dtspublic boolean addUse(XBRLRelationship rel)
rel - the herepublic boolean delUse(XBRLRelationship rel)
rel - the relpublic java.util.Iterator<XBRLRelationship> getUses()
public int getCyclesAllowed()
public void setCyclesAllowed(java.lang.String cyclesAllowedValue)
cyclesAllowedValue - the new cycles allowedpublic void setCyclesAllowed(int cyclesAllowedCode)
cyclesAllowedCode - the new cycles allowedpublic static java.lang.String getCyclesAllowed(int code)
code - the codepublic static java.lang.Integer getCyclesAllowed(java.lang.String code)
code - the codepublic java.lang.String toString()
toString in class XMLFragmentpublic boolean equals(java.lang.Object other)
equals in interface net.sf.saxon.om.NodeInfoequals in class XBRLRoleAndArcroleTypesother - the otherpublic int hashCode()
hashCode in interface net.sf.saxon.om.NodeInfohashCode in class XBRLRoleAndArcroleTypespublic XBRLArcroleRef getArcroleRef(DTSContainer dts)
dts - the dtspublic void clear()
           throws java.lang.Throwable
clear in class XBRLRoleAndArcroleTypesjava.lang.Throwable - the throwablepublic XBRLArcroleType generateNode() throws XBRLSerializationException
generateNode in class XBRLRoleAndArcroleTypesXBRLSerializationException - the XBRL serialization exceptionpublic java.lang.String getFriendlyName()
getFriendlyName in class XMLFragmentpublic java.lang.String getFriendlyName(int modifiers)
getFriendlyName in class XMLFragmentmodifiers - the modifierspublic final boolean hasChildNodes()
hasChildNodes in interface net.sf.saxon.om.NodeInfohasChildNodes in class net.sf.saxon.tree.linked.NodeImplpublic final int getNumberOfChildren()
public final net.sf.saxon.tree.linked.NodeImpl getFirstChild()
getFirstChild in interface net.sf.saxon.tree.util.SteppingNode<net.sf.saxon.tree.linked.NodeImpl>getFirstChild in class net.sf.saxon.tree.linked.NodeImplpublic final net.sf.saxon.tree.linked.NodeImpl getLastChild()
getLastChild in class net.sf.saxon.tree.linked.NodeImplCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa