atg.search.routing.command.search
Class RankingExpressionGroupStrProp

java.lang.Object
  extended by atg.search.routing.command.search.RankingExpressionGroupBasic
      extended by atg.search.routing.command.search.RankingExpressionGroupStrProp
All Implemented Interfaces:
RankingExpressionGroup, java.io.Serializable

public class RankingExpressionGroupStrProp
extends atg.search.routing.command.search.RankingExpressionGroupBasic

Ranking expression group for string properties.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RankingExpressionGroupStrProp(java.lang.String propertyName, java.lang.String stringValue)
          Constructs a new string property expression group
RankingExpressionGroupStrProp(java.lang.String propertyName, java.lang.String stringValue, StringOp op, java.lang.Boolean caseSensitive)
          Constructs a new string property expression group
 
Method Summary
protected  java.lang.String getAttributesXML()
           
protected  java.lang.String getExpressionName()
           
 StringOp getOp()
          Returns the operation
 java.lang.String getPropertyName()
          Returns the property name
 java.lang.String getStringValue()
          Returns the string value
protected  java.lang.String getValue()
           
 java.lang.Boolean isCaseSensitive()
          Returns whether it is case sensitive
 void setCaseSensitive(java.lang.Boolean caseSensitive)
          Sets whether it is case sensitive
 void setOp(StringOp op)
          Sets the operation
 void setPropertyName(java.lang.String propertyName)
          Sets the property name
 void setStringValue(java.lang.String stringValue)
          Sets the string value
 
Methods inherited from class atg.search.routing.command.search.RankingExpressionGroupBasic
toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

RankingExpressionGroupStrProp

public RankingExpressionGroupStrProp(java.lang.String propertyName,
                                     java.lang.String stringValue)
Constructs a new string property expression group

Parameters:
propertyName - name of the property
stringValue - value

RankingExpressionGroupStrProp

public RankingExpressionGroupStrProp(java.lang.String propertyName,
                                     java.lang.String stringValue,
                                     StringOp op,
                                     java.lang.Boolean caseSensitive)
Constructs a new string property expression group

Parameters:
propertyName - name of the property
stringValue - value
op - operation, or null for default
caseSensitive - case sensitivity, or null for default
Method Detail

getStringValue

public java.lang.String getStringValue()
Returns the string value

Returns:
the string value

setStringValue

public void setStringValue(java.lang.String stringValue)
Sets the string value

Parameters:
stringValue - the string value

isCaseSensitive

public java.lang.Boolean isCaseSensitive()
Returns whether it is case sensitive

Returns:
whether it is case sensitive

setCaseSensitive

public void setCaseSensitive(java.lang.Boolean caseSensitive)
Sets whether it is case sensitive

Parameters:
caseSensitive - whether it is case sensitive

getOp

public StringOp getOp()
Returns the operation

Returns:
the operation

setOp

public void setOp(StringOp op)
Sets the operation

Parameters:
op - the operation

getPropertyName

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

Returns:
the property name

setPropertyName

public void setPropertyName(java.lang.String propertyName)
Sets the property name

Parameters:
propertyName - the property name

getExpressionName

protected java.lang.String getExpressionName()
Specified by:
getExpressionName in class atg.search.routing.command.search.RankingExpressionGroupBasic

getAttributesXML

protected java.lang.String getAttributesXML()
Specified by:
getAttributesXML in class atg.search.routing.command.search.RankingExpressionGroupBasic

getValue

protected java.lang.String getValue()
Specified by:
getValue in class atg.search.routing.command.search.RankingExpressionGroupBasic