public class XBRLRelationshipPointImpl extends java.lang.Object implements XBRLRelationshipPoint
Modifier and Type | Method and Description |
---|---|
boolean |
addFromRelationship(XBRLRelationship rel)
Adds the from relationship.
|
boolean |
addToRelationship(XBRLRelationship rel)
Adds the to relationship.
|
void |
changeBase(DTSBase oldBase,
DTSBase newBase)
This object is informed that a DTSBase is going to be deleted.
|
void |
clear()
Clear.
|
static XBRLRelationshipPointImpl |
clone(XBRLRelationshipPointImpl other,
XMLFragment newFragment)
Clone.
|
void |
generateNode()
Generate node.
|
java.util.Iterator<XBRLRelationship> |
getFromRelationships()
Gets the from relationships.
|
java.util.Iterator<XBRLRelationship> |
getFromRelationships(int arcrole)
Gets the from relationships.
|
java.util.Iterator<XBRLRelationship> |
getFromRelationships(int arcrole,
DTSBase base)
Gets the from relationships.
|
java.util.Iterator<XBRLRelationship> |
getFromRelationships(XBRLArcroleType arcrole)
Gets the from relationships.
|
java.util.Iterator<XBRLRelationship> |
getFromRelationships(XBRLArcroleType arcrole,
DTSBase base)
Gets the from relationships.
|
int |
getNumberOfFromRelationships()
Gets the number of from relationships.
|
int |
getNumberOfToRelationships()
Gets the number of to relationships.
|
java.util.Iterator<DTSBase> |
getRelationshipsBases()
Gets the relationships bases.
|
java.util.Iterator<XBRLRelationshipsChainLink> |
getRelationshipsChain(DTSBase base,
javax.xml.namespace.QName type)
Gets the relationships chain.
|
java.util.Iterator<javax.xml.namespace.QName> |
getRelationshipTypes(DTSBase base)
Gets the relationship types.
|
java.util.Iterator<XBRLRelationship> |
getToRelationships()
Gets the to relationships.
|
java.util.Iterator<XBRLRelationship> |
getToRelationships(int arcrole)
Gets the to relationships.
|
java.util.Iterator<XBRLRelationship> |
getToRelationships(int arcrole,
DTSBase base)
Gets the to relationships.
|
java.util.Iterator<XBRLRelationship> |
getToRelationships(XBRLArcroleType arcrole)
Gets the to relationships.
|
java.util.Iterator<XBRLRelationship> |
getToRelationships(XBRLArcroleType arcrole,
DTSBase base)
Gets the to relationships.
|
boolean |
isEmpty()
Checks if is empty.
|
boolean |
removeFromRelationship(XBRLRelationship rel)
Removes the from relationship.
|
boolean |
removeToRelationship(XBRLRelationship rel)
Removes the to relationship.
|
public boolean addFromRelationship(XBRLRelationship rel) throws XBRLInconsistentDTSException
addFromRelationship
in interface XBRLRelationshipPoint
rel
- the relXBRLInconsistentDTSException
- the XBRL inconsistent DTS exceptionpublic boolean addToRelationship(XBRLRelationship rel) throws XBRLInconsistentDTSException
addToRelationship
in interface XBRLRelationshipPoint
rel
- the relXBRLInconsistentDTSException
- the XBRL inconsistent DTS exceptionpublic java.util.Iterator<XBRLRelationship> getFromRelationships(XBRLArcroleType arcrole, DTSBase base)
getFromRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolebase
- the basepublic java.util.Iterator<XBRLRelationship> getFromRelationships(int arcrole, DTSBase base)
getFromRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolebase
- the basepublic java.util.Iterator<XBRLRelationship> getFromRelationships(XBRLArcroleType arcrole)
getFromRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolepublic java.util.Iterator<XBRLRelationship> getFromRelationships(int arcrole)
getFromRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolepublic java.util.Iterator<XBRLRelationship> getFromRelationships()
getFromRelationships
in interface XBRLRelationshipPoint
public int getNumberOfFromRelationships()
getNumberOfFromRelationships
in interface XBRLRelationshipPoint
public int getNumberOfToRelationships()
getNumberOfToRelationships
in interface XBRLRelationshipPoint
public java.util.Iterator<XBRLRelationship> getToRelationships(XBRLArcroleType arcrole, DTSBase base)
getToRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolebase
- the basepublic java.util.Iterator<XBRLRelationship> getToRelationships(int arcrole, DTSBase base)
getToRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolebase
- the basepublic java.util.Iterator<XBRLRelationship> getToRelationships(XBRLArcroleType arcrole)
getToRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolepublic java.util.Iterator<XBRLRelationship> getToRelationships(int arcrole)
getToRelationships
in interface XBRLRelationshipPoint
arcrole
- the arcrolepublic java.util.Iterator<XBRLRelationship> getToRelationships()
getToRelationships
in interface XBRLRelationshipPoint
public boolean removeFromRelationship(XBRLRelationship rel) throws XBRLInconsistentDTSException
removeFromRelationship
in interface XBRLRelationshipPoint
rel
- the relXBRLInconsistentDTSException
- the XBRL inconsistent DTS exceptionpublic boolean removeToRelationship(XBRLRelationship rel) throws XBRLInconsistentDTSException
removeToRelationship
in interface XBRLRelationshipPoint
rel
- the relXBRLInconsistentDTSException
- the XBRL inconsistent DTS exceptionpublic static XBRLRelationshipPointImpl clone(XBRLRelationshipPointImpl other, XMLFragment newFragment)
other
- the othernewFragment
- the new fragmentpublic void clear() throws java.lang.Throwable
java.lang.Throwable
- the throwablepublic void changeBase(DTSBase oldBase, DTSBase newBase)
oldBase
- DTSBase cannot be nullnewBase
- DTSBase can be nullpublic void generateNode()
public java.util.Iterator<DTSBase> getRelationshipsBases() throws XBRLValidationException
getRelationshipsBases
in interface XBRLRelationshipPoint
XBRLValidationException
- the XBRL validation exceptionpublic java.util.Iterator<javax.xml.namespace.QName> getRelationshipTypes(DTSBase base) throws XBRLValidationException
getRelationshipTypes
in interface XBRLRelationshipPoint
base
- the baseXBRLValidationException
- the XBRL validation exceptionpublic java.util.Iterator<XBRLRelationshipsChainLink> getRelationshipsChain(DTSBase base, javax.xml.namespace.QName type)
getRelationshipsChain
in interface XBRLRelationshipPoint
base
- the basetype
- the typepublic boolean isEmpty()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa