info.magnolia.cms.gui.query
Class StringSearchQueryParameter

java.lang.Object
  extended by info.magnolia.cms.gui.query.AbstractExpressionImpl
      extended by info.magnolia.cms.gui.query.SearchQueryParameter
          extended by info.magnolia.cms.gui.query.StringSearchQueryParameter
All Implemented Interfaces:
SearchQueryExpression

public class StringSearchQueryParameter
extends SearchQueryParameter

Author:
Sameer Charles $Id$

Field Summary
static String CONTAINS
          sql constraint "CONTAINS"
static String CONTAINS_NOT
           
static String ENDS
          sql constraint "ENDS"
static String IS
           
static String IS_NOT
           
static String STARTS
          sql constraint "STARTS"
 
Fields inherited from class info.magnolia.cms.gui.query.SearchQueryParameter
constraint, name, value
 
Constructor Summary
StringSearchQueryParameter(String name, String value, String constraint)
           
 
Method Summary
 String getValue()
          get value
 void setValue(String value)
          set value
 
Methods inherited from class info.magnolia.cms.gui.query.SearchQueryParameter
getConstraint, getName, setConstraint, setName
 
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

CONTAINS

public static final String CONTAINS
sql constraint "CONTAINS"

See Also:
Constant Field Values

CONTAINS_NOT

public static final String CONTAINS_NOT
See Also:
Constant Field Values

IS

public static final String IS
See Also:
Constant Field Values

IS_NOT

public static final String IS_NOT
See Also:
Constant Field Values

STARTS

public static final String STARTS
sql constraint "STARTS"

See Also:
Constant Field Values

ENDS

public static final String ENDS
sql constraint "ENDS"

See Also:
Constant Field Values
Constructor Detail

StringSearchQueryParameter

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

getValue

public String getValue()
get value

Returns:
String value

setValue

public void setValue(String value)
set value

Parameters:
value -


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