public class CFI extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CFI.Attribute
Describes single attribute with all values as defined in the ISO 10962 standard.
|
static class |
CFI.Value
Describes single value of single character of CFI code as defined in the ISO 10962 standard.
|
Modifier and Type | Field and Description |
---|---|
static CFI |
EMPTY
Empty CFI - it has code "XXXXXX".
|
Modifier and Type | Method and Description |
---|---|
CFI.Value[] |
decipher()
Returns array of values that explain meaning of each character in the CFI code.
|
String |
describe()
Returns short textual description of this CFI code by listing names of all values
for the characters in this CFI code.
|
boolean |
equals(Object obj) |
char |
getCategory()
Returns single character for instrument category - the first character of the CFI code.
|
String |
getCode()
Returns CFI code.
|
char |
getGroup()
Returns single character for instrument group - the second character of the CFI code.
|
int |
getIntCode()
Returns integer representation of CFI code.
|
int |
hashCode() |
boolean |
isDebtInstrument()
Returns true if corresponding instrument is a debt instrument.
|
boolean |
isEntitlement()
Returns true if corresponding instrument is an entitlement (right).
|
boolean |
isEquity()
Returns true if corresponding instrument is an equity.
|
boolean |
isFuture()
Returns true if corresponding instrument is a future.
|
boolean |
isOption()
Returns true if corresponding instrument is an option.
|
boolean |
isOther()
Returns true if corresponding instrument is an other (miscellaneous) instrument.
|
String |
toString() |
static CFI |
valueOf(int intCode)
Returns an instance of CFI for specified integer representation of CFI code.
|
static CFI |
valueOf(String code)
Returns an instance of CFI for specified CFI code.
|
public static final CFI EMPTY
public static CFI valueOf(String code)
IllegalArgumentException
- if code is invalidpublic static CFI valueOf(int intCode)
IllegalArgumentException
- if code is invalidpublic String getCode()
public int getIntCode()
public char getCategory()
public char getGroup()
public boolean isEquity()
public boolean isDebtInstrument()
public boolean isEntitlement()
public boolean isOption()
public boolean isFuture()
public boolean isOther()
public CFI.Value[] decipher()
public String describe()
decipher()
method.Copyright © 2002–2023 Devexperts LLC. All rights reserved.