Package com.longbridge.fundamental
Enum FinancialReportKind
- java.lang.Object
-
- java.lang.Enum<FinancialReportKind>
-
- com.longbridge.fundamental.FinancialReportKind
-
- All Implemented Interfaces:
Serializable,Comparable<FinancialReportKind>
public enum FinancialReportKind extends Enum<FinancialReportKind>
Financial report kind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AllAll statementsBalanceSheetBalance sheet (BS)CashFlowCash flow statement (CF)IncomeStatementIncome statement (IS)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FinancialReportKindvalueOf(String name)Returns the enum constant of this type with the specified name.static FinancialReportKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IncomeStatement
public static final FinancialReportKind IncomeStatement
Income statement (IS)
-
BalanceSheet
public static final FinancialReportKind BalanceSheet
Balance sheet (BS)
-
CashFlow
public static final FinancialReportKind CashFlow
Cash flow statement (CF)
-
All
public static final FinancialReportKind All
All statements
-
-
Method Detail
-
values
public static FinancialReportKind[] 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 (FinancialReportKind c : FinancialReportKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FinancialReportKind 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
-
-