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. CCPKey used to access the CCP.static AttributeType<String>AttributeType. DESCRIPTIONKey used to access the description.static AttributeType<String>AttributeType. NAMEKey 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 theattributesproperty.org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>SecurityInfo.Meta. attributes()The meta-property for theattributesproperty.org.joda.beans.MetaProperty<ImmutableMap<AttributeType<?>,Object>>TradeInfo.Meta. attributes()The meta-property for theattributesproperty.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> PositionInfoBuilderPositionInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)Adds a position attribute to the map of attributes.<T> SecurityInfoBuilderSecurityInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)Adds a security attribute to the map of attributes.<T> TradeInfoBuilderTradeInfoBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)Adds a trade attribute to the map of attributes.intAttributeType. compareTo(AttributeType<T> other)Compares this type to another.default <T> booleanAttributes. containsAttribute(AttributeType<T> type)Determines if an attribute associated with the specified type is present.default <T> booleanAttributes. containsAttribute(AttributeType<T> type, T attributeValue)Determines if an attribute associated with the specified type is present and its value isequalto 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> TAttributes. getAttribute(AttributeType<T> type)Gets the attribute associated with the specified type.static <T> AttributesAttributes. of(AttributeType<T> type, T value)Obtains an instance with a single attribute.static <T> PortfolioItemInfoPortfolioItemInfo. of(AttributeType<T> type, T value)Obtains an instance with a single attribute.static <T> SimpleAttributesSimpleAttributes. of(AttributeType<T> type, T value)Obtains an instance with a single attribute.<T> AttributesAttributes. withAttribute(AttributeType<T> type, T value)Returns a copy of this instance with the attribute added.<T> PortfolioItemInfoPortfolioItemInfo. withAttribute(AttributeType<T> type, T value)<T> PositionInfoPositionInfo. withAttribute(AttributeType<T> type, T value)<T> SecurityInfoSecurityInfo. withAttribute(AttributeType<T> type, T value)<T> SimpleAttributesSimpleAttributes. withAttribute(AttributeType<T> type, T value)<T> TradeInfoTradeInfo. 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 theattributesproperty.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> EtdContractSpecBuilderEtdContractSpecBuilder. addAttribute(AttributeType<T> attributeType, T attributeValue)Adds an attribute to the builder.<T> Optional<T>EtdContractSpec. findAttribute(AttributeType<T> type)<T> EtdContractSpecEtdContractSpec. withAttribute(AttributeType<T> type, T value)
-