atg.search.routing.command.search
Class RankingExpressionGroupNumProp

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

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

Ranking expression group for a number property.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RankingExpressionGroupNumProp(java.lang.String propertyName, java.lang.String numericValue)
          Constructs a new group for the numeric value, the property name, and the default operation.
RankingExpressionGroupNumProp(java.lang.String numericValue, java.lang.String propertyName, NumOp op)
          Constructs a new group for the numeric value, the property name, and the operation.
 
Method Summary
protected  java.lang.String getAttributesXML()
           
protected  java.lang.String getExpressionName()
           
 java.lang.String getNumericValue()
          Returns the numeric value
 NumOp getOp()
          Returns the operation
 java.lang.String getPropertyName()
          Returns the property name
protected  java.lang.String getValue()
           
 void setNumericValue(java.lang.String numericValue)
          Sets the numeric value
 void setOp(NumOp op)
          Sets the operation
 void setPropertyName(java.lang.String propertyName)
          Sets the property name
 
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

RankingExpressionGroupNumProp

public RankingExpressionGroupNumProp(java.lang.String numericValue,
                                     java.lang.String propertyName,
                                     NumOp op)
Constructs a new group for the numeric value, the property name, and the operation.

Parameters:
numericValue - a number
propertyName - a property name
op - operation, or null for default

RankingExpressionGroupNumProp

public RankingExpressionGroupNumProp(java.lang.String propertyName,
                                     java.lang.String numericValue)
Constructs a new group for the numeric value, the property name, and the default operation.

Parameters:
propertyName -
numericValue -
Method Detail

getNumericValue

public java.lang.String getNumericValue()
Returns the numeric value

Returns:
the numeric value

setNumericValue

public void setNumericValue(java.lang.String numericValue)
Sets the numeric value

Parameters:
numericValue - the numeric value

getOp

public NumOp getOp()
Returns the operation

Returns:
the operation

setOp

public void setOp(NumOp 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