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 41135 2011-01-06 18:12:01Z gjoseph $

Field Summary
protected  String constraint
          constraint for this parameter
protected  String name
          parameter name
protected  Object value
          parameter value, this could be either String or Date
 
Constructor Summary
SearchQueryParameter(String name, Object value, String constraint)
           
 
Method Summary
 String getConstraint()
          get constraint name
 String getName()
          get name of the parameter field
 void setConstraint(String constraint)
          set constraint
 void setName(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 String name
parameter name


value

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


constraint

protected String constraint
constraint for this parameter

Constructor Detail

SearchQueryParameter

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

getName

public String getName()
get name of the parameter field

Returns:
name

setName

public void setName(String name)
set parameter field name

Parameters:
name -

getConstraint

public String getConstraint()
get constraint name

Returns:
constraint

setConstraint

public void setConstraint(String constraint)
set constraint

Parameters:
constraint -


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