public final class SimpleLegalEntity extends Object implements LegalEntity, Serializable, org.joda.beans.ImmutableBean
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Country |
getCountry()
Gets the country that the legal entity is based in.
|
LegalEntityId |
getLegalEntityId()
Gets the legal entity identifier.
|
String |
getName()
Gets the legal entity name.
|
int |
hashCode() |
static org.joda.beans.MetaBean |
meta()
The meta-bean for
SimpleLegalEntity. |
org.joda.beans.MetaBean |
metaBean() |
static SimpleLegalEntity |
of(LegalEntityId legalEntityId,
String name,
Country country)
Obtains an instance.
|
String |
toString() |
public static org.joda.beans.MetaBean meta()
SimpleLegalEntity.public static SimpleLegalEntity of(LegalEntityId legalEntityId, String name, Country country)
legalEntityId - the value of the property, not nullname - the value of the property, not nullcountry - the value of the property, not nullpublic org.joda.beans.MetaBean metaBean()
metaBean in interface org.joda.beans.Beanpublic LegalEntityId getLegalEntityId()
getLegalEntityId in interface LegalEntitypublic String getName()
getName in interface LegalEntitypublic Country getCountry()
getCountry in interface LegalEntityCopyright 2009-Present by OpenGamma Inc. and individual contributors
Apache v2 licensed
Additional documentation can be found at strata.opengamma.io.