public final class CalculationTargetList extends Object implements org.joda.beans.ImmutableBean, Serializable
CalculationTarget is a marker interface that all financial instruments implement,
such as trades and positions. This allows them to be the target of calculations in the system.
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ImmutableList<CalculationTarget> |
getTargets()
Gets the targets.
|
int |
hashCode() |
static org.joda.beans.TypedMetaBean<CalculationTargetList> |
meta()
The meta-bean for
CalculationTargetList. |
org.joda.beans.TypedMetaBean<CalculationTargetList> |
metaBean() |
static CalculationTargetList |
of(CalculationTarget... targets)
Obtains an instance from a list of targets.
|
static CalculationTargetList |
of(List<? extends CalculationTarget> targets)
Obtains an instance from a list of targets.
|
String |
toString() |
public static CalculationTargetList of(CalculationTarget... targets)
targets - the list of targetspublic static CalculationTargetList of(List<? extends CalculationTarget> targets)
targets - the list of targetspublic static org.joda.beans.TypedMetaBean<CalculationTargetList> meta()
CalculationTargetList.public org.joda.beans.TypedMetaBean<CalculationTargetList> metaBean()
metaBean in interface org.joda.beans.Beanpublic ImmutableList<CalculationTarget> getTargets()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.