org.springframework.rules.constraint
Class LogicalOperator

java.lang.Object
  extended by org.springframework.core.enums.AbstractLabeledEnum
      extended by org.springframework.core.enums.AbstractGenericLabeledEnum
          extended by org.springframework.core.enums.StringCodedLabeledEnum
              extended by org.springframework.rules.constraint.Operator
                  extended by org.springframework.rules.constraint.LogicalOperator
All Implemented Interfaces:
Serializable, Comparable, LabeledEnum

public abstract class LogicalOperator
extends Operator

Type-safe enums for various conditional or logical operators.

Author:
Keith Donald
See Also:
Serialized Form

Field Summary
static LogicalOperator AND
          The AND operator
static LogicalOperator OR
          The OR operator
static LogicalOperator XOR
          The XOR operator
 
Fields inherited from interface org.springframework.core.enums.LabeledEnum
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER
 
Method Summary
 CompoundConstraint createConstraint()
           
 
Methods inherited from class org.springframework.rules.constraint.Operator
getSymbol, negation, toString
 
Methods inherited from class org.springframework.core.enums.StringCodedLabeledEnum
getCode, getStringCode
 
Methods inherited from class org.springframework.core.enums.AbstractGenericLabeledEnum
getLabel
 
Methods inherited from class org.springframework.core.enums.AbstractLabeledEnum
compareTo, equals, getType, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

AND

public static final LogicalOperator AND
The AND operator


OR

public static final LogicalOperator OR
The OR operator


XOR

public static final LogicalOperator XOR
The XOR operator

Method Detail

createConstraint

public CompoundConstraint createConstraint()


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.