info.magnolia.cms.gui.query
Class SearchQueryParameter

java.lang.Object
  extended by info.magnolia.cms.gui.query.AbstractExpressionImpl
      extended by info.magnolia.cms.gui.query.SearchQueryParameter
All Implemented Interfaces:
SearchQueryExpression
Direct Known Subclasses:
DateSearchQueryParameter, StringSearchQueryParameter

public abstract class SearchQueryParameter
extends AbstractExpressionImpl

Author:
Sameer Charles $Id: SearchQueryParameter.java 41137 2011-01-06 18:19:25Z gjoseph $

Field Summary
protected  java.lang.String constraint
          constraint for this parameter
protected  java.lang.String name
          parameter name
protected  java.lang.Object value
          parameter value, this could be either String or Date
 
Constructor Summary
SearchQueryParameter(java.lang.String name, java.lang.Object value, java.lang.String constraint)
           
 
Method Summary
 java.lang.String getConstraint()
          get constraint name
 java.lang.String getName()
          get name of the parameter field
 void setConstraint(java.lang.String constraint)
          set constraint
 void setName(java.lang.String name)
          set parameter field name
 
Methods inherited from class info.magnolia.cms.gui.query.AbstractExpressionImpl
getLeft, getRight, hasLeft, hasRight, setleft, setRight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.magnolia.cms.gui.query.SearchQueryExpression
toString
 

Field Detail

name

protected java.lang.String name
parameter name


value

protected java.lang.Object value
parameter value, this could be either String or Date


constraint

protected java.lang.String constraint
constraint for this parameter

Constructor Detail

SearchQueryParameter

public SearchQueryParameter(java.lang.String name,
                            java.lang.Object value,
                            java.lang.String constraint)
Parameters:
name - of this parameter
value -
constraint - check constraint constants
Method Detail

getName

public java.lang.String getName()
get name of the parameter field

Returns:
name

setName

public void setName(java.lang.String name)
set parameter field name

Parameters:
name -

getConstraint

public java.lang.String getConstraint()
get constraint name

Returns:
constraint

setConstraint

public void setConstraint(java.lang.String constraint)
set constraint

Parameters:
constraint -


Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.