it.amattioli.dominate.specifications
Enum TotalOrderComparisonType

Show UML class diagram
java.lang.Object
  extended by java.lang.Enum<TotalOrderComparisonType>
      extended by it.amattioli.dominate.specifications.TotalOrderComparisonType
All Implemented Interfaces:
Serializable, Comparable<TotalOrderComparisonType>

public enum TotalOrderComparisonType
extends Enum<TotalOrderComparisonType>


Enum Constant Summary
EQUAL
           
GREATER
           
GREATER_EQ
           
LOWER
           
LOWER_EQ
           
NOT_EQUAL
           
 
Method Summary
abstract
<T extends Comparable<T>>
boolean
isSatisfiedBy(T arg1, T arg2)
           
static TotalOrderComparisonType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TotalOrderComparisonType[] 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

EQUAL

public static final TotalOrderComparisonType EQUAL

NOT_EQUAL

public static final TotalOrderComparisonType NOT_EQUAL

GREATER

public static final TotalOrderComparisonType GREATER

GREATER_EQ

public static final TotalOrderComparisonType GREATER_EQ

LOWER

public static final TotalOrderComparisonType LOWER

LOWER_EQ

public static final TotalOrderComparisonType LOWER_EQ
Method Detail

values

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

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

valueOf

public static TotalOrderComparisonType 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

isSatisfiedBy

public abstract <T extends Comparable<T>> boolean isSatisfiedBy(T arg1,
                                                                T arg2)


Copyright © 2011. All Rights Reserved.