public static enum XBRLItem.BalanceType extends java.lang.Enum<XBRLItem.BalanceType>
Enum Constant and Description |
---|
CREDIT
Concept is CREDIT type.
|
DEBIT
Concept is DEBIT type.
|
NO_BALANCE
No explicit indication about the Balance type in the concept definition.
|
Modifier and Type | Method and Description |
---|---|
static XBRLItem.BalanceType |
getBalance(java.lang.String balance)
Returns the int code of the balance in the string.
|
static java.lang.String |
getBalance(XBRLItem.BalanceType balance)
Returns the String representation of the balance in the code.
|
static java.lang.String |
getBalanceLocaliced(XBRLItem.BalanceType balance)
Returns the String representation of the balance in the code.
|
static XBRLItem.BalanceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XBRLItem.BalanceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XBRLItem.BalanceType DEBIT
public static final XBRLItem.BalanceType CREDIT
public static final XBRLItem.BalanceType NO_BALANCE
public static XBRLItem.BalanceType[] values()
for (XBRLItem.BalanceType c : XBRLItem.BalanceType.values()) System.out.println(c);
public static XBRLItem.BalanceType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static XBRLItem.BalanceType getBalance(java.lang.String balance)
balance
- the balancepublic static java.lang.String getBalance(XBRLItem.BalanceType balance)
balance
- the balancepublic static java.lang.String getBalanceLocaliced(XBRLItem.BalanceType balance)
balance
- the balanceCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa