com.edustructures.sifworks
Enum ComparisonOperators

java.lang.Object
  extended by java.lang.Enum<ComparisonOperators>
      extended by com.edustructures.sifworks.ComparisonOperators
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ComparisonOperators>

public enum ComparisonOperators
extends java.lang.Enum<ComparisonOperators>

Operators used to control how an element value is compared in a SIF_Query


Enum Constant Summary
EQ
          the "equals" operator
GE
          the "greater than or equal to" operator
GT
          the "greater than" operator
LE
          the "less than or equal to" operator
LT
          the "less than" operator
NE
          the Negation ("not equal") operator
 
Method Summary
 Operators getSIFValue()
           
static ComparisonOperators valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ComparisonOperators[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQ

public static final ComparisonOperators EQ
the "equals" operator


LT

public static final ComparisonOperators LT
the "less than" operator


GT

public static final ComparisonOperators GT
the "greater than" operator


NE

public static final ComparisonOperators NE
the Negation ("not equal") operator


LE

public static final ComparisonOperators LE
the "less than or equal to" operator


GE

public static final ComparisonOperators GE
the "greater than or equal to" operator

Method Detail

values

public static final ComparisonOperators[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ComparisonOperators c : ComparisonOperators.values())
        System.out.println(c);

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

valueOf

public static ComparisonOperators valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getSIFValue

public Operators getSIFValue()


Copyright © 2001-2007 Edustructures LLC. All Rights Reserved. SIFWorks® and ADK® are registered trademarks of Edustructures LLC. SIF™ and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.