Agentflow
V3.1

pe.pase
Class QueryCondition

java.lang.Object
  extended by pe.pase.QueryCondition
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
LoginLogQryCondition.AbnormalStatus, LoginLogQryCondition.AllStatus, LoginLogQryCondition.NormalStatus

public class QueryCondition
extends java.lang.Object
implements java.io.Serializable

TODO Please comment for this class

Author:
Chen Chang-hua
See Also:
Serialized Form

Constructor Summary
QueryCondition()
           
QueryCondition(java.lang.String propertyName, java.lang.String comparisonOp, java.lang.Object value)
          Create a QueryCondtion object with the default logic operator (QueryConditions.LOGIC_AND).
QueryCondition(java.lang.String logicOp, java.lang.String propertyName, java.lang.String comparisonOp, java.lang.Object value)
           
 
Method Summary
 java.lang.String getComarisonOp()
          Returns the comarison operator of this condition.
 java.lang.String getLogicOp()
          Returns the logic operator of this condition.
 java.lang.String getPropertyName()
          Returns the property name to be compared.
 java.lang.Object getValue()
          Returns the comparison value.
 void setComarisonOp(java.lang.String comarisonOp)
          Sets the comarison operator of this condition.
 void setLogicOp(java.lang.String logicOp)
          Sets the logic operator of this condition.
 void setPropertyName(java.lang.String property)
          Sets the property name to be compared.
 void setValue(java.lang.Object value)
          Sets the comparison value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCondition

public QueryCondition()

QueryCondition

public QueryCondition(java.lang.String propertyName,
                      java.lang.String comparisonOp,
                      java.lang.Object value)
Create a QueryCondtion object with the default logic operator (QueryConditions.LOGIC_AND).

Parameters:
propertyName -
comparisonOp -
value -

QueryCondition

public QueryCondition(java.lang.String logicOp,
                      java.lang.String propertyName,
                      java.lang.String comparisonOp,
                      java.lang.Object value)
Method Detail

getComarisonOp

public java.lang.String getComarisonOp()
Returns the comarison operator of this condition. Its value should be one of QueryCondition.COMPARISON_x.

Returns:
Returns the comarisonOp.

getLogicOp

public java.lang.String getLogicOp()
Returns the logic operator of this condition. Its value should be one of QueryCondition.LOGIC_x. Default is QueryConditions.LOGIC_AND.

Returns:
Returns the logicOp.

getPropertyName

public java.lang.String getPropertyName()
Returns the property name to be compared.

Returns:
Returns the property.

getValue

public java.lang.Object getValue()
Returns the comparison value.

Returns:
Returns the value.

setComarisonOp

public void setComarisonOp(java.lang.String comarisonOp)
Sets the comarison operator of this condition. Its value should be one of QueryCondition.COMPARISON_x.

Parameters:
comarisonOp - The comarisonOp to set.

setLogicOp

public void setLogicOp(java.lang.String logicOp)
Sets the logic operator of this condition. Its value should be one of QueryCondition.LOGIC_x. Default is QueryConditions.LOGIC_AND.

Parameters:
logicOp - The logicOp to set.

setPropertyName

public void setPropertyName(java.lang.String property)
Sets the property name to be compared.

Parameters:
property - The property to set.

setValue

public void setValue(java.lang.Object value)
Sets the comparison value.

Parameters:
value - The value to set.

Agentflow
V3.1

Submit a bug or feature
Copyright 1999-2010 Flowring , Inc. 12F., No.120, Sec2, Gongdao 5th Rd.,
Hsinchu City 300, Taiwan (R.O.C.) All Rights Reserved.