org.springframework.rules.constraint
Class Operator

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
All Implemented Interfaces:
Serializable, Comparable, LabeledEnum
Direct Known Subclasses:
LogicalOperator, RelationalOperator

public abstract class Operator
extends StringCodedLabeledEnum

Author:
Keith Donald
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.springframework.core.enums.LabeledEnum
CODE_ORDER, DEFAULT_ORDER, LABEL_ORDER
 
Constructor Summary
protected Operator(String code, String symbol)
           
 
Method Summary
 String getSymbol()
           
 Operator negation()
           
 String 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
 

Constructor Detail

Operator

protected Operator(String code,
                   String symbol)
Method Detail

getSymbol

public String getSymbol()

negation

public Operator negation()

toString

public String toString()
Overrides:
toString in class AbstractLabeledEnum


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