Enum StackAggregationOption

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StackAggregationOption>

    public enum StackAggregationOption
    extends java.lang.Enum<StackAggregationOption>
    Defines how a stack rate is determined for a specific country and region.
    • Enum Constant Detail

      • NoStackAggregation

        public static final StackAggregationOption NoStackAggregation
        No aggregation. The component rate is used for the stack rate.
      • FullStackAggregation

        public static final StackAggregationOption FullStackAggregation
        Rates are aggregated across all jurisdiction types.
      • AggregateStateAndCounty

        public static final StackAggregationOption AggregateStateAndCounty
        State and county rates are aggregated.
      • AggregateCityAndCounty

        public static final StackAggregationOption AggregateCityAndCounty
        City and county rates are aggregated.
    • Method Detail

      • values

        public static StackAggregationOption[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StackAggregationOption c : StackAggregationOption.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StackAggregationOption valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static StackAggregationOption valueOf​(int intValue)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        intValue - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()