public final class CalculationTargetList extends Object implements 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 MetaBean |
meta()
The meta-bean for
CalculationTargetList . |
MetaBean |
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.
|
<R> Property<R> |
property(String propertyName) |
Set<String> |
propertyNames() |
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 MetaBean meta()
CalculationTargetList
.public Set<String> propertyNames()
propertyNames
in interface Bean
public ImmutableList<CalculationTarget> getTargets()
Copyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.