Package com.opengamma.strata.product
Interface LegalEntity
-
- All Known Implementing Classes:
SimpleLegalEntity
public interface LegalEntityA legal entity.A legal entity is one of the building blocks of finance, representing an organization. It is used to capture details for credit worthiness. The legal entity can be looked up in
ReferenceDatausing the identifier.Implementations of this interface must be immutable beans.
- See Also:
SimpleLegalEntity
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CountrygetCountry()Gets the country that the legal entity is based in.LegalEntityIdgetLegalEntityId()Gets the legal entity identifier.StringgetName()Gets the name of the legal entity.
-
-
-
Method Detail
-
getLegalEntityId
LegalEntityId getLegalEntityId()
Gets the legal entity identifier.This identifier uniquely identifies the legal entity within the system.
- Returns:
- the legal entity identifier
-
getName
String getName()
Gets the name of the legal entity.This is intended for humans.
- Returns:
- the name
-
getCountry
Country getCountry()
Gets the country that the legal entity is based in.- Returns:
- the country
-
-