Enum Assignment.AssignmentType

java.lang.Object
java.lang.Enum<Assignment.AssignmentType>
org.mapstruct.ap.internal.model.common.Assignment.AssignmentType
All Implemented Interfaces:
Serializable, Comparable<Assignment.AssignmentType>, java.lang.constant.Constable
Enclosing interface:
Assignment

public static enum Assignment.AssignmentType extends Enum<Assignment.AssignmentType>
  • Enum Constant Details

    • DIRECT

      public static final Assignment.AssignmentType DIRECT
      assignment is direct
    • TYPE_CONVERTED

      public static final Assignment.AssignmentType TYPE_CONVERTED
      assignment is type converted
    • MAPPED

      public static final Assignment.AssignmentType MAPPED
      assignment is mapped (builtin/custom)
    • MAPPED_TWICE

      public static final Assignment.AssignmentType MAPPED_TWICE
      2 mapping methods (builtin/custom) are applied to get the target
    • MAPPED_TYPE_CONVERTED

      public static final Assignment.AssignmentType MAPPED_TYPE_CONVERTED
      assignment is first mapped (builtin/custom), then the result is type converted
    • TYPE_CONVERTED_MAPPED

      public static final Assignment.AssignmentType TYPE_CONVERTED_MAPPED
      assignment is first type converted, and then mapped (builtin/custom)
  • Method Details

    • values

      public static Assignment.AssignmentType[] 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 Assignment.AssignmentType 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
    • isDirect

      public boolean isDirect()
    • isConverted

      public boolean isConverted()