Enum ITypeConverterRule.ESubType

java.lang.Object
java.lang.Enum<ITypeConverterRule.ESubType>
com.helger.commons.typeconvert.ITypeConverterRule.ESubType
All Implemented Interfaces:
Serializable, Comparable<ITypeConverterRule.ESubType>, java.lang.constant.Constable
Enclosing interface:
ITypeConverterRule<SRC,DST>

public static enum ITypeConverterRule.ESubType extends Enum<ITypeConverterRule.ESubType>
Define the sub types of the rules. The order is the sub type in which they are evaluated.
Author:
Philip Helger
  • Enum Constant Details

    • FIXED_SRC_ASSIGNABLE_DST

      public static final ITypeConverterRule.ESubType FIXED_SRC_ASSIGNABLE_DST
      Fixed source type and assignable destination type.
    • FIXED_SRC_ANY_DST

      public static final ITypeConverterRule.ESubType FIXED_SRC_ANY_DST
      Fixed source type and any destination type.
    • ASSIGNABLE_SRC_FIXED_DST

      public static final ITypeConverterRule.ESubType ASSIGNABLE_SRC_FIXED_DST
      Assignable source type and fixed destination type.
    • ANY_SRC_FIXED_DST

      public static final ITypeConverterRule.ESubType ANY_SRC_FIXED_DST
      Any source type and fixed destination type.
  • Method Details

    • values

      public static ITypeConverterRule.ESubType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ITypeConverterRule.ESubType valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null