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)
Compare to.
|
boolean |
equals(java.lang.Object obj)
Equals.
|
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()
Hash code.
|
XBRLEntity |
toEntity(DTSContainer dts)
Returns back a new generated XBRLEntity on the
DTSContainer indicated in the dts parameter.
|
java.lang.String |
toString()
To string.
|
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.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the objpublic int compareTo(CompanyKey o)
compareTo
in interface java.lang.Comparable<CompanyKey>
o
- the opublic java.lang.String toString()
toString
in class java.lang.Object
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa