Interface LegalEntitySecurity
-
- All Superinterfaces:
Security
- All Known Implementing Classes:
BillSecurity,CapitalIndexedBondSecurity,FixedCouponBondSecurity
public interface LegalEntitySecurity extends Security
An instrument representing a security associated with a legal entity.Examples include fixed coupon bonds and capital index bonds.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LegalEntityIdgetLegalEntityId()Get the legal entity identifier.LegalEntitySecuritywithInfo(SecurityInfo info)Returns an instance with the specified info.-
Methods inherited from interface com.opengamma.strata.product.Security
createPosition, createPosition, createProduct, createTrade, getCurrency, getInfo, getSecurityId, getUnderlyingIds
-
-
-
-
Method Detail
-
getLegalEntityId
LegalEntityId getLegalEntityId()
Get the legal entity identifier.The identifier is used for the legal entity that issues the security.
- Returns:
- the legal entity identifier
-
withInfo
LegalEntitySecurity withInfo(SecurityInfo info)
Description copied from interface:SecurityReturns an instance with the specified info.
-
-