Class LegalEntityInformation
- java.lang.Object
-
- com.opengamma.strata.market.observable.LegalEntityInformation
-
- All Implemented Interfaces:
Serializable,org.joda.beans.Bean,org.joda.beans.ImmutableBean
public final class LegalEntityInformation extends Object implements org.joda.beans.ImmutableBean, Serializable
Legal entity information.This stores the information on a legal entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLegalEntityInformation.MetaThe meta-bean forLegalEntityInformation.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StandardIdgetLegalEntityId()Gets the legal entity identifier.inthashCode()booleanisDefaulted()Gets whether the legal entity has defaulted or not.static LegalEntityInformationisDefaulted(StandardId legalEntityId)Creates an instance for a legal entity which has defaulted.static LegalEntityInformationisNotDefaulted(StandardId legalEntityId)Creates an instance for a legal entity which has not defaulted.static LegalEntityInformation.Metameta()The meta-bean forLegalEntityInformation.LegalEntityInformation.MetametaBean()StringtoString()
-
-
-
Method Detail
-
isDefaulted
public static LegalEntityInformation isDefaulted(StandardId legalEntityId)
Creates an instance for a legal entity which has defaulted.- Parameters:
legalEntityId- the legal entity ID- Returns:
- the instance
-
isNotDefaulted
public static LegalEntityInformation isNotDefaulted(StandardId legalEntityId)
Creates an instance for a legal entity which has not defaulted.- Parameters:
legalEntityId- the legal entity- Returns:
- the instance
-
meta
public static LegalEntityInformation.Meta meta()
The meta-bean forLegalEntityInformation.- Returns:
- the meta-bean, not null
-
metaBean
public LegalEntityInformation.Meta metaBean()
- Specified by:
metaBeanin interfaceorg.joda.beans.Bean
-
getLegalEntityId
public StandardId getLegalEntityId()
Gets the legal entity identifier.- Returns:
- the value of the property, not null
-
isDefaulted
public boolean isDefaulted()
Gets whether the legal entity has defaulted or not.True if defaulted, false otherwise.
- Returns:
- the value of the property, not null
-
-