it.avutils.jmapper.enums
Enum OperationType
java.lang.Object
java.lang.Enum<OperationType>
it.avutils.jmapper.enums.OperationType
- All Implemented Interfaces:
- Serializable, Comparable<OperationType>
public enum OperationType
- extends Enum<OperationType>
Enumeration that contains types of permitted mappings.
- Author:
- Alessandro Vurro
BASIC_INSTRUCTION
public static final OperationType BASIC_INSTRUCTION
COLLECTION
public static final OperationType COLLECTION
ARRAY
public static final OperationType ARRAY
ARRAY_LIST
public static final OperationType ARRAY_LIST
LIST_ARRAY
public static final OperationType LIST_ARRAY
MAP
public static final OperationType MAP
OBJECT
public static final OperationType OBJECT
ARRAY_WITH_MAPPED_ITEMS
public static final OperationType ARRAY_WITH_MAPPED_ITEMS
ARRAY_LIST_WITH_MAPPED_ITEMS
public static final OperationType ARRAY_LIST_WITH_MAPPED_ITEMS
LIST_ARRAY_WITH_MAPPED_ITEMS
public static final OperationType LIST_ARRAY_WITH_MAPPED_ITEMS
COLLECTION_WITH_MAPPED_ITEMS
public static final OperationType COLLECTION_WITH_MAPPED_ITEMS
MAP_WITH_MAPPED_ITEMS
public static final OperationType MAP_WITH_MAPPED_ITEMS
UNDEFINED
public static final OperationType UNDEFINED
BASIC_CONVERSION
public static final OperationType BASIC_CONVERSION
CONVERSION
public static final OperationType CONVERSION
values
public static OperationType[] 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 (OperationType c : OperationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OperationType 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
isUndefined
public boolean isUndefined()
isMapped
public boolean isMapped()
isBetweenMappedObjects
public boolean isBetweenMappedObjects()
isBasic
public boolean isBasic()
isComplex
public boolean isComplex()
isConversion
public boolean isConversion()
Copyright © 2013. All Rights Reserved.