atg.search.routing.command.search
Class RankingExpressionGroupProp

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

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

Ranking expression group for properties, where the type is a string value from PropType.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RankingExpressionGroupProp(java.lang.String propertyName, java.lang.String propType, java.lang.String propValue)
          uses defaults for op and case
RankingExpressionGroupProp(java.lang.String propertyName, java.lang.String propType, java.lang.String propValue, StringOp op, java.lang.Boolean caseSensitive)
          Constructs a new 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 prop name
 java.lang.String getPropType()
          Returns the property type, a string value from PropType
 java.lang.String getPropValue()
          Returns the property value
protected  java.lang.String getValue()
           
 java.lang.Boolean isCaseSensitive()
          Indicates whether the group is case sensitive, null means false
 void setCaseSensitive(java.lang.Boolean caseSensitive)
          Sets whether the group is case sensitive, null means false
 void setOp(StringOp op)
          Sets the operation
 void setPropertyName(java.lang.String propertyName)
          Sets the prop name
 void setPropType(java.lang.String propType)
          Sets the property type, a string value from PropType
 void setPropValue(java.lang.String propValue)
          Sets the property 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

RankingExpressionGroupProp

public RankingExpressionGroupProp(java.lang.String propertyName,
                                  java.lang.String propType,
                                  java.lang.String propValue,
                                  StringOp op,
                                  java.lang.Boolean caseSensitive)
Constructs a new expression group

Parameters:
propertyName - name of property
propType - property type from PropType
propValue - property value
op - operation, or use null for default
caseSensitive - use null for default

RankingExpressionGroupProp

public RankingExpressionGroupProp(java.lang.String propertyName,
                                  java.lang.String propType,
                                  java.lang.String propValue)
uses defaults for op and case

Parameters:
propertyName -
propType -
propValue -
Method Detail

isCaseSensitive

public java.lang.Boolean isCaseSensitive()
Indicates whether the group is case sensitive, null means false

Returns:
whether the group is case sensitive, null means false

setCaseSensitive

public void setCaseSensitive(java.lang.Boolean caseSensitive)
Sets whether the group is case sensitive, null means false

Parameters:
caseSensitive - whether the group is case sensitive, null means false

getOp

public StringOp getOp()
Returns the operation

Returns:
operation

setOp

public void setOp(StringOp op)
Sets the operation

Parameters:
op - the operation

getPropertyName

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

Returns:
the prop name

setPropertyName

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

Parameters:
propertyName - the prop name

getPropType

public java.lang.String getPropType()
Returns the property type, a string value from PropType

Returns:
a string value from PropType

setPropType

public void setPropType(java.lang.String propType)
Sets the property type, a string value from PropType

Parameters:
propType - a string value from PropType

getPropValue

public java.lang.String getPropValue()
Returns the property value

Returns:
property value

setPropValue

public void setPropValue(java.lang.String propValue)
Sets the property value

Parameters:
propValue - prop value

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