Enum Assignment.AssignmentType

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DIRECT
      assignment is direct
      MAPPED
      assignment is mapped (builtin/custom)
      MAPPED_TWICE
      2 mapping methods (builtin/custom) are applied to get the target
      MAPPED_TYPE_CONVERTED
      assignment is first mapped (builtin/custom), then the result is type converted
      TYPE_CONVERTED
      assignment is type converted
      TYPE_CONVERTED_MAPPED
      assignment is first type converted, and then mapped (builtin/custom)
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean converted  
      private boolean direct  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AssignmentType​(boolean isDirect, boolean isConverted)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isConverted()  
      boolean isDirect()  
      static Assignment.AssignmentType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Assignment.AssignmentType[] 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, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • direct

        private final boolean direct
      • converted

        private final boolean converted
    • Constructor Detail

      • AssignmentType

        private AssignmentType​(boolean isDirect,
                               boolean isConverted)
    • Method Detail

      • values

        public static Assignment.AssignmentType[] 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 (Assignment.AssignmentType c : Assignment.AssignmentType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public boolean isDirect()
      • isConverted

        public boolean isConverted()