Package com.longbridge.fundamental
Enum FinancialStatementKind
- java.lang.Object
-
- java.lang.Enum<FinancialStatementKind>
-
- com.longbridge.fundamental.FinancialStatementKind
-
- All Implemented Interfaces:
Serializable,Comparable<FinancialStatementKind>
public enum FinancialStatementKind extends Enum<FinancialStatementKind>
Financial statement kind.Unlike
FinancialReportKindthere is noAll: the statements endpoint needs one specific statement per request and answers with an empty list forALL.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BalanceSheetBalance sheet (BS)CashFlowCash flow statement (CF)IncomeStatementIncome statement (IS)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FinancialStatementKindvalueOf(String name)Returns the enum constant of this type with the specified name.static FinancialStatementKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IncomeStatement
public static final FinancialStatementKind IncomeStatement
Income statement (IS)
-
BalanceSheet
public static final FinancialStatementKind BalanceSheet
Balance sheet (BS)
-
CashFlow
public static final FinancialStatementKind CashFlow
Cash flow statement (CF)
-
-
Method Detail
-
values
public static FinancialStatementKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FinancialStatementKind c : FinancialStatementKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FinancialStatementKind valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-