Uses of Class
com.opengamma.strata.product.AttributeType
-
Packages that use AttributeType Package Description com.opengamma.strata.product Entity objects describing trades and products in financial markets.com.opengamma.strata.product.etd Entity objects describing Exchange Traded Derivatives (ETDs). -
-
Uses of AttributeType in com.opengamma.strata.product
Fields in com.opengamma.strata.product declared as AttributeType Modifier and Type Field Description static AttributeType<CcpId>
AttributeType. CCP
Key used to access the CCP.static AttributeType<String>
AttributeType. DESCRIPTION
Key used to access the description.static AttributeType<String>
AttributeType. NAME
Key used to access the name.Methods in com.opengamma.strata.product that return AttributeType Modifier and Type Method Description <R> AttributeType<R>
AttributeType. captureWildcard()
Captures the wildcard type.AttributeType<T>
AttributeType. normalized()
Returns the normalized form of the attribute type.static <T> AttributeType<T>
AttributeType. of(String name)
Obtains an instance from the specified name, which should be pre-registered.static <T> AttributeType<T>
AttributeType. registerInstance(String name, Class<T> type, String... aliases)
Registers an instance for the specified name and type.Methods in com.opengamma.strata.product that return types with arguments of type AttributeType Modifier and Type Method Description org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>
PositionInfo.Meta. attributes()
The meta-property for theattributes
property.org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>
SecurityInfo.Meta. attributes()
The meta-property for theattributes
property.org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>
TradeInfo.Meta. attributes()
The meta-property for theattributes
property.ImmutableMap<AttributeType<?>,Object>
PositionInfo. getAttributes()
Gets the position attributes.ImmutableMap<AttributeType<?>,Object>
SecurityInfo. getAttributes()
Gets the security attributes.ImmutableMap<AttributeType<?>,Object>
SimpleAttributes. getAttributes()
Gets the attributes.ImmutableMap<AttributeType<?>,Object>
TradeInfo. getAttributes()
Gets the trade attributes.default ImmutableSet<AttributeType<?>>
Attributes. getAttributeTypes()
Gets the attribute types that are available.ImmutableSet<AttributeType<?>>
PortfolioItemInfo. getAttributeTypes()
ImmutableSet<AttributeType<?>>
PositionInfo. getAttributeTypes()
ImmutableSet<AttributeType<?>>
SecurityInfo. getAttributeTypes()
ImmutableSet<AttributeType<?>>
SimpleAttributes. getAttributeTypes()
ImmutableSet<AttributeType<?>>
TradeInfo. getAttributeTypes()
Methods in com.opengamma.strata.product with parameters of type AttributeType Modifier and Type Method Description <V> PortfolioItemInfoBuilder<T>
PortfolioItemInfoBuilder. addAttribute(AttributeType<V> attributeType, V attributeValue)
Adds a position attribute to the map of attributes.<T> PositionInfoBuilder
PositionInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)
Adds a position attribute to the map of attributes.<T> SecurityInfoBuilder
SecurityInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)
Adds a security attribute to the map of attributes.<T> TradeInfoBuilder
TradeInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)
Adds a trade attribute to the map of attributes.int
AttributeType. compareTo(AttributeType<T> other)
Compares this type to another.default <T> boolean
Attributes. containsAttribute(AttributeType<T> type)
Determines if an attribute associated with the specified type is present.default <T> boolean
Attributes. containsAttribute(AttributeType<T> type, T attributeValue)
Determines if an attribute associated with the specified type is present and its value isequal
to the supplied value.<T> Optional<T>
Attributes. findAttribute(AttributeType<T> type)
Finds the attribute associated with the specified type.<T> Optional<T>
PositionInfo. findAttribute(AttributeType<T> type)
<T> Optional<T>
SecurityInfo. findAttribute(AttributeType<T> type)
<T> Optional<T>
SimpleAttributes. findAttribute(AttributeType<T> type)
<T> Optional<T>
TradeInfo. findAttribute(AttributeType<T> type)
default <T> T
Attributes. getAttribute(AttributeType<T> type)
Gets the attribute associated with the specified type.static <T> Attributes
Attributes. of(AttributeType<T> type, T value)
Obtains an instance with a single attribute.static <T> PortfolioItemInfo
PortfolioItemInfo. of(AttributeType<T> type, T value)
Obtains an instance with a single attribute.static <T> SimpleAttributes
SimpleAttributes. of(AttributeType<T> type, T value)
Obtains an instance with a single attribute.<T> Attributes
Attributes. withAttribute(AttributeType<T> type, T value)
Returns a copy of this instance with the attribute added.<T> PortfolioItemInfo
PortfolioItemInfo. withAttribute(AttributeType<T> type, T value)
<T> PositionInfo
PositionInfo. withAttribute(AttributeType<T> type, T value)
<T> SecurityInfo
SecurityInfo. withAttribute(AttributeType<T> type, T value)
<T> SimpleAttributes
SimpleAttributes. withAttribute(AttributeType<T> type, T value)
<T> TradeInfo
TradeInfo. withAttribute(AttributeType<T> type, T value)
-
Uses of AttributeType in com.opengamma.strata.product.etd
Methods in com.opengamma.strata.product.etd that return types with arguments of type AttributeType Modifier and Type Method Description org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>
EtdContractSpec.Meta. attributes()
The meta-property for theattributes
property.ImmutableMap<AttributeType<?>,Object>
EtdContractSpec. getAttributes()
Gets the attributes.ImmutableSet<AttributeType<?>>
EtdContractSpec. getAttributeTypes()
Methods in com.opengamma.strata.product.etd with parameters of type AttributeType Modifier and Type Method Description <T> EtdContractSpecBuilder
EtdContractSpecBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)
Adds an attribute to the builder.<T> Optional<T>
EtdContractSpec. findAttribute(AttributeType<T> type)
<T> EtdContractSpec
EtdContractSpec. withAttribute(AttributeType<T> type, T value)
-