Package com.longbridge.fundamental
Enum InstitutionRecommend
- java.lang.Object
-
- java.lang.Enum<InstitutionRecommend>
-
- com.longbridge.fundamental.InstitutionRecommend
-
- All Implemented Interfaces:
Serializable,Comparable<InstitutionRecommend>
public enum InstitutionRecommend extends Enum<InstitutionRecommend>
Institutional analyst recommendation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BuyBuyHoldHoldNoOpinionNo opinionSellSellStrongBuyStrong buyStrongSellStrong sellUnderperformUnderperformUnknownUnknown
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstitutionRecommendvalueOf(String name)Returns the enum constant of this type with the specified name.static InstitutionRecommend[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Unknown
public static final InstitutionRecommend Unknown
Unknown
-
StrongBuy
public static final InstitutionRecommend StrongBuy
Strong buy
-
Buy
public static final InstitutionRecommend Buy
Buy
-
Hold
public static final InstitutionRecommend Hold
Hold
-
Sell
public static final InstitutionRecommend Sell
Sell
-
StrongSell
public static final InstitutionRecommend StrongSell
Strong sell
-
Underperform
public static final InstitutionRecommend Underperform
Underperform
-
NoOpinion
public static final InstitutionRecommend NoOpinion
No opinion
-
-
Method Detail
-
values
public static InstitutionRecommend[] 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 (InstitutionRecommend c : InstitutionRecommend.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstitutionRecommend 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
-
-