org.oddjob.beancmpr.beans
Enum MatchResultType.Type

java.lang.Object
  extended by java.lang.Enum<MatchResultType.Type>
      extended by org.oddjob.beancmpr.beans.MatchResultType.Type
All Implemented Interfaces:
Serializable, Comparable<MatchResultType.Type>
Enclosing interface:
MatchResultType

public static enum MatchResultType.Type
extends Enum<MatchResultType.Type>


Enum Constant Summary
EQUAL
          Two things matched by key and their values were equal.
NOT_EQUAL
          Two things matched by key but one or more of there values were not equal.
X_MISSING
          No X data was found matching the Y key.
Y_MISSING
          No Y data was found matching the X key.
 
Method Summary
static MatchResultType.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MatchResultType.Type[] 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

X_MISSING

public static final MatchResultType.Type X_MISSING
No X data was found matching the Y key.


Y_MISSING

public static final MatchResultType.Type Y_MISSING
No Y data was found matching the X key.


EQUAL

public static final MatchResultType.Type EQUAL
Two things matched by key and their values were equal.


NOT_EQUAL

public static final MatchResultType.Type NOT_EQUAL
Two things matched by key but one or more of there values were not equal.

Method Detail

values

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

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

valueOf

public static MatchResultType.Type 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 © 2013. All Rights Reserved.