ma.glasnost.orika
Enum MappingContext.StackElement

java.lang.Object
  extended by java.lang.Enum<MappingContext.StackElement>
      extended by ma.glasnost.orika.MappingContext.StackElement
All Implemented Interfaces:
Serializable, Comparable<MappingContext.StackElement>
Enclosing class:
MappingContext

public static enum MappingContext.StackElement
extends Enum<MappingContext.StackElement>


Enum Constant Summary
DEST
           
DEST_NAME
           
DEST_TYPE
           
SOURCE
           
SOURCE_NAME
           
SOURCE_TYPE
           
 
Method Summary
static MappingContext.StackElement valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MappingContext.StackElement[] 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

SOURCE_NAME

public static final MappingContext.StackElement SOURCE_NAME

SOURCE_TYPE

public static final MappingContext.StackElement SOURCE_TYPE

SOURCE

public static final MappingContext.StackElement SOURCE

DEST_NAME

public static final MappingContext.StackElement DEST_NAME

DEST_TYPE

public static final MappingContext.StackElement DEST_TYPE

DEST

public static final MappingContext.StackElement DEST
Method Detail

values

public static MappingContext.StackElement[] 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 (MappingContext.StackElement c : MappingContext.StackElement.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MappingContext.StackElement 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


Copyright © 2014 Glasnost. All Rights Reserved.