public static enum TargetPortfolio.WeightsContext extends Enum<TargetPortfolio.WeightsContext>
Enum Constant and Description |
---|
DEFINITION |
EQUILIBRIUM |
OPINIONATED |
RESTRICTED |
Modifier and Type | Method and Description |
---|---|
FinancialMarket.EvaluationContext |
getEvaluationContext() |
static TargetPortfolio.WeightsContext |
getInstance(String name) |
boolean |
isRestricted()
Are restrictions enforced
|
static TargetPortfolio.WeightsContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TargetPortfolio.WeightsContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TargetPortfolio.WeightsContext DEFINITION
public static final TargetPortfolio.WeightsContext EQUILIBRIUM
public static final TargetPortfolio.WeightsContext OPINIONATED
public static final TargetPortfolio.WeightsContext RESTRICTED
public static TargetPortfolio.WeightsContext[] values()
for (TargetPortfolio.WeightsContext c : TargetPortfolio.WeightsContext.values()) System.out.println(c);
public static TargetPortfolio.WeightsContext valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TargetPortfolio.WeightsContext getInstance(String name)
public FinancialMarket.EvaluationContext getEvaluationContext()
public boolean isRestricted()