net.sourceforge.pbeans
Class SimpleLogicalOperator

java.lang.Object
  extended by net.sourceforge.pbeans.SimpleLogicalOperator
All Implemented Interfaces:
LogicalOperator

public class SimpleLogicalOperator
extends java.lang.Object
implements LogicalOperator

Author:
Philipp Walther philATredmoonDOTch 11.08.2005

Field Summary
 
Fields inherited from interface net.sourceforge.pbeans.LogicalOperator
LOGICAL_AND, LOGICAL_OR
 
Constructor Summary
SimpleLogicalOperator(java.lang.String operation)
           
 
Method Summary
 java.lang.String operation(java.lang.String aVariable, java.lang.String aValue)
           
 java.lang.String operatorString()
          like toString(), prints out the operator string (AND or OR ...)
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleLogicalOperator

public SimpleLogicalOperator(java.lang.String operation)
Method Detail

operatorString

public java.lang.String operatorString()
Description copied from interface: LogicalOperator
like toString(), prints out the operator string (AND or OR ...)

Specified by:
operatorString in interface LogicalOperator

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

operation

public java.lang.String operation(java.lang.String aVariable,
                                  java.lang.String aValue)