it.avutils.jmapper.enums
Enum OperationType

java.lang.Object
  extended by java.lang.Enum<OperationType>
      extended by 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

Enum Constant Summary
ARRAY
           
ARRAY_LIST
           
ARRAY_LIST_WITH_MAPPED_ITEMS
           
ARRAY_WITH_MAPPED_ITEMS
           
BASIC_CONVERSION
           
BASIC_INSTRUCTION
           
COLLECTION
           
COLLECTION_WITH_MAPPED_ITEMS
           
CONVERSION
           
LIST_ARRAY
           
LIST_ARRAY_WITH_MAPPED_ITEMS
           
MAP
           
MAP_WITH_MAPPED_ITEMS
           
OBJECT
           
UNDEFINED
           
 
Method Summary
 boolean isBasic()
           
 boolean isBetweenMappedObjects()
           
 boolean isComplex()
           
 boolean isConversion()
           
 boolean isMapped()
           
 boolean isUndefined()
           
static OperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OperationType[] 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
 

Enum Constant Detail

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
Method Detail

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.