Module java.money

Enum MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy

java.lang.Object
java.lang.Enum<MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy>
javax.money.spi.MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy>, java.lang.constant.Constable
Enclosing interface:
MonetaryAmountFactoryProviderSpi<T extends MonetaryAmount>

public static enum MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy
extends java.lang.Enum<MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy>
Determines how the factory should be considered when querying for matching implementation types calling Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery) .
See Also:
Monetary.getAmountFactory(javax.money.MonetaryAmountFactoryQuery)
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
  • Enum Constant Summary

    Enum Constants 
    Enum Constant Description
    ALWAYS
    Always include this factory (and the corresponding amount type) within queries.
    DIRECT_REFERENCE_ONLY
    Only consider this factory, when the implementation type is specified explicitly in the MonetaryContext required.
    NEVER
    Never consider this factory in a query for a matching MonetaryAmount implementation.
  • Method Summary

    Modifier and Type Method Description
    static MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy valueOf​(java.lang.String name)
    Returns the enum constant of this type with the specified name.
    static MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy[] values()
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait