com.fatwire.assetapi.query
Class ConditionExpressionImpl

java.lang.Object
  extended by com.fatwire.assetapi.query.ConditionExpressionImpl
All Implemented Interfaces:
ConditionExpression

public class ConditionExpressionImpl
extends java.lang.Object
implements ConditionExpression


Constructor Summary
ConditionExpressionImpl(java.lang.String attribute, OpTypeEnum type, java.util.List values)
           
ConditionExpressionImpl(java.lang.String attribute, OpTypeEnum type, java.util.List values, QueryProperties props)
           
 
Method Summary
 java.lang.String getAttributeName()
          Returns the name of Attribute this condition is based on
 OpTypeEnum getOpType()
          Returns the Operation type enumeration for this condition
 QueryProperties getProperties()
          Returns properties associated with the condition
 java.util.List getValues()
          Retrurns the values associated with the condition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConditionExpressionImpl

public ConditionExpressionImpl(java.lang.String attribute,
                               OpTypeEnum type,
                               java.util.List values,
                               QueryProperties props)

ConditionExpressionImpl

public ConditionExpressionImpl(java.lang.String attribute,
                               OpTypeEnum type,
                               java.util.List values)
Method Detail

getAttributeName

public java.lang.String getAttributeName()
Description copied from interface: ConditionExpression
Returns the name of Attribute this condition is based on

Specified by:
getAttributeName in interface ConditionExpression
Returns:
name of the attribute

getOpType

public OpTypeEnum getOpType()
Description copied from interface: ConditionExpression
Returns the Operation type enumeration for this condition

Specified by:
getOpType in interface ConditionExpression
Returns:
type of operand

getValues

public java.util.List getValues()
Description copied from interface: ConditionExpression
Retrurns the values associated with the condition

Specified by:
getValues in interface ConditionExpression
Returns:
values associated with the condition

getProperties

public QueryProperties getProperties()
Description copied from interface: ConditionExpression
Returns properties associated with the condition

Specified by:
getProperties in interface ConditionExpression
Returns:
properties associated with the condition