public class EquivalentRelationshipsImpl extends java.lang.Object implements EquivalentRelationships, java.io.Serializable
Constructor and Description |
---|
EquivalentRelationshipsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addRelationship(Relationship relationship) |
boolean |
equals(java.lang.Object obj) |
Relationship |
getActiveRelationship() |
java.util.Collection<Relationship> |
getAllRelationships() |
int |
hashCode() |
int |
size() |
public int size()
size
in interface EquivalentRelationships
EquivalentRelationships.size()
public void addRelationship(Relationship relationship) throws XBRLException
addRelationship
in interface EquivalentRelationships
relationship
- The relationship to add.XBRLException
- if the relationship is not equivalent to
the relationship with the highest priority in the collection.EquivalentRelationships.addRelationship(Relationship)
public Relationship getActiveRelationship() throws XBRLException
getActiveRelationship
in interface EquivalentRelationships
XBRLException
EquivalentRelationships.getActiveRelationship()
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.util.Collection<Relationship> getAllRelationships()