public class XBRLFragmentWrapper extends java.lang.Object implements java.lang.Comparable<XBRLFragmentWrapper>
Constructor and Description |
---|
XBRLFragmentWrapper(Event.EventNode item,
DTSComparator comparator)
Creates a XBRLFragmentWrapper object.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(XBRLFragmentWrapper o)
This method has been implemented in order to order to sets of relationships so they can
be compared in the right sequence.
|
boolean |
equals(java.lang.Object other)
Each XBRLFragmentWrapper has an array of correspondenceID
Two XBRLFragmentWrapper equals if they have one correspondenceID in common.
|
static java.lang.String |
getAttributeIdentificationID(XBRLAttribute at) |
int[] |
getCorrespondenceID()
Access to the array of correspondence IDs.
|
static int[] |
getCorrespondenceID(Event.EventNode item2,
DTSComparator comparator,
java.util.HashSet<Event.EventNode> skipFragments,
com.ihr.xbrl.comparator.XBRLFragmentWrapper.ClsCorrespondenceId clsCorrespondenceId)
Generates the array of correspondence IDs for an XMLFragment.
|
java.lang.String |
getIdentificationID()
Access to the identification ID for the surrounding object.
|
static java.lang.String |
getIdentificationID(XMLFragment item2)
The Item Identification ID is an string identifying the concept in a DTS.
|
java.lang.String |
getItemShortName()
Access to the short name of the encapsulated item.
|
static java.lang.String |
getItemShortName(java.lang.Object item)
Returns a short name describing an object.
|
int |
hashCode()
Generates a hash code for this Wrapper object
This code MUST be independent of the Wrapper DTS container.
|
public XBRLFragmentWrapper(Event.EventNode item, DTSComparator comparator)
item
- the itemcomparator
- the comparatorpublic boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the otherpublic int compareTo(XBRLFragmentWrapper o)
compareTo
in interface java.lang.Comparable<XBRLFragmentWrapper>
o
- the opublic int hashCode()
hashCode
in class java.lang.Object
public static java.lang.String getItemShortName(java.lang.Object item)
item
- the itempublic java.lang.String getIdentificationID()
public int[] getCorrespondenceID()
public static java.lang.String getAttributeIdentificationID(XBRLAttribute at)
public static java.lang.String getIdentificationID(XMLFragment item2)
item2
- the item2public static int[] getCorrespondenceID(Event.EventNode item2, DTSComparator comparator, java.util.HashSet<Event.EventNode> skipFragments, com.ihr.xbrl.comparator.XBRLFragmentWrapper.ClsCorrespondenceId clsCorrespondenceId)
item2
- the XMLFragmentcomparator
- the DTSComparator class used to obtain the tables for namespace, item and resource correspondenceskipFragments
- set of XMLFragments that will be skiped during the generation of the correspondende ID (used during recursive calls)public java.lang.String getItemShortName()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa