Package com.opengamma.strata.product
Interface LegalEntity
-
- All Known Implementing Classes:
SimpleLegalEntity
public interface LegalEntity
A 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
ReferenceData
using 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 Country
getCountry()
Gets the country that the legal entity is based in.LegalEntityId
getLegalEntityId()
Gets the legal entity identifier.String
getName()
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
-
-