public final class ImmutableMeasure extends Object implements Measure, org.joda.beans.ImmutableBean, Serializable
Measure.| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableMeasure.Meta
The meta-bean for
ImmutableMeasure. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the measure name.
|
int |
hashCode() |
boolean |
isCurrencyConvertible()
Gets flag indicating whether measure values should be automatically converted to the reporting currency.
|
static ImmutableMeasure.Meta |
meta()
The meta-bean for
ImmutableMeasure. |
ImmutableMeasure.Meta |
metaBean() |
static ImmutableMeasure |
of(String name)
Returns a measure with the specified name whose values will be automatically converted to the reporting currency.
|
static ImmutableMeasure |
of(String name,
boolean isCurrencyConvertible)
Returns a measure with the specified name.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitextendedEnumpublic static ImmutableMeasure of(String name)
Measure names must only contains the characters A-Z, a-z, 0-9 and -.
public static ImmutableMeasure of(String name, boolean isCurrencyConvertible)
Measure names must only contains the characters A-Z, a-z, 0-9 and -.
name - the measure nameisCurrencyConvertible - flag indicating whether measure values should be automatically
converted to the reporting currency.public static ImmutableMeasure.Meta meta()
ImmutableMeasure.public ImmutableMeasure.Meta metaBean()
metaBean in interface org.joda.beans.Beanpublic String getName()
Measure names must only contains the characters A-Z, a-z, 0-9 and -.
public boolean isCurrencyConvertible()
isCurrencyConvertible in interface MeasureCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.