public static enum DefaultOperationBuilder.TypeInference extends Enum<DefaultOperationBuilder.TypeInference>
NONE - No type inference. Results in a TypeMappingException if multiple different types are encountered.
LIMITED - Automatically infer the common super type. Results in a TypeMappingException if no common ancestors except
Object, Serializable, Cloneable, Comparable or Annotation are found.
UNRESTRICTED - Automatically infer the common super type. Results in Object if no common ancestors are found.
| Modifier and Type | Field and Description |
|---|---|
boolean |
allowObject |
boolean |
inferTypes |
| Modifier and Type | Method and Description |
|---|---|
static DefaultOperationBuilder.TypeInference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultOperationBuilder.TypeInference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultOperationBuilder.TypeInference NONE
public static final DefaultOperationBuilder.TypeInference LIMITED
public static final DefaultOperationBuilder.TypeInference UNLIMITED
public final boolean inferTypes
public final boolean allowObject
public static DefaultOperationBuilder.TypeInference[] values()
for (DefaultOperationBuilder.TypeInference c : DefaultOperationBuilder.TypeInference.values()) System.out.println(c);
public static DefaultOperationBuilder.TypeInference valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016–2018. All rights reserved.