public class CompanyKey extends java.lang.Object implements java.lang.Comparable<CompanyKey>
| Constructor and Description |
|---|
CompanyKey(java.lang.String identifier,
java.lang.String scheme)
Instantiates a new company key.
|
CompanyKey(XBRLContext context)
Instantiates a new company key.
|
CompanyKey(XBRLEntity entity)
Instantiates a new company key.
|
CompanyKey(XBRLFactItem item)
Instantiates a new company key.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CompanyKey o) |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentifier()
Access to the identifier of this company key.
|
java.lang.String |
getScheme()
Access to the scheme of this company key.
|
int |
hashCode() |
XBRLEntity |
toEntity(DTSContainer dts)
Returns back a new generated XBRLEntity on the
DTSContainer indicated in the dts parameter.
|
public CompanyKey(java.lang.String identifier,
java.lang.String scheme)
identifier - the identifierscheme - the schemepublic CompanyKey(XBRLFactItem item)
item - the itempublic CompanyKey(XBRLContext context)
context - the contextpublic CompanyKey(XBRLEntity entity)
entity - the entitypublic java.lang.String getScheme()
public java.lang.String getIdentifier()
public XBRLEntity toEntity(DTSContainer dts)
dts - the dtspublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(CompanyKey o)
compareTo in interface java.lang.Comparable<CompanyKey>