atg.search.routing.command.search
Class RankingExpressionGroupRelevance

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

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

Ranking expression group for relevance.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RankingExpressionGroupRelevance(java.lang.String relevancy, RelevanceType type)
          Constructs a new expression group
RankingExpressionGroupRelevance(java.lang.String relevancy, RelevanceType type, StringOp op)
          Constructs a new expression group.
 
Method Summary
protected  java.lang.String getAttributesXML()
           
protected  java.lang.String getExpressionName()
           
 StringOp getOp()
          Returns the operation, which may be null
 java.lang.String getRelevancy()
          Returns the relevancy value
 RelevanceType getType()
          Returns the relevancy type
protected  java.lang.String getValue()
           
 void setOp(StringOp op)
          Sets the operation
 void setRelevancy(java.lang.String relevancy)
          Sets the relevancy value
 void setType(RelevanceType type)
          Sets the relevancy type
 
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

RankingExpressionGroupRelevance

public RankingExpressionGroupRelevance(java.lang.String relevancy,
                                       RelevanceType type)
Constructs a new expression group

Parameters:
relevancy - relevancy value
type - type of relevancy

RankingExpressionGroupRelevance

public RankingExpressionGroupRelevance(java.lang.String relevancy,
                                       RelevanceType type,
                                       StringOp op)
Constructs a new expression group.

Parameters:
relevancy - relevancy value
type - type of relevancy
op - operation, null for default
Method Detail

getOp

public StringOp getOp()
Returns the operation, which may be null

Returns:
the operation, which may be null

setOp

public void setOp(StringOp op)
Sets the operation

Parameters:
op - the operation

getRelevancy

public java.lang.String getRelevancy()
Returns the relevancy value

Returns:
the relevancy value

setRelevancy

public void setRelevancy(java.lang.String relevancy)
Sets the relevancy value

Parameters:
relevancy - the relevancy value

getType

public RelevanceType getType()
Returns the relevancy type

Returns:
the relevancy type

setType

public void setType(RelevanceType type)
Sets the relevancy type

Parameters:
type - the relevancy type

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