atg.search.routing.command.search
Class RankingGroupBlock

java.lang.Object
  extended by atg.search.routing.command.search.RankingGroupBlock
All Implemented Interfaces:
RankingGroup, java.io.Serializable
Direct Known Subclasses:
RankingGroupLoop

public class RankingGroupBlock
extends java.lang.Object
implements java.io.Serializable, RankingGroup

Ranking group block containing arbitrary expressions.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
RankingGroupBlock()
          Constructs an empty block
RankingGroupBlock(java.util.List rankingGroups)
          Constructs a block with the list of groups
 
Method Summary
 void addRankingGroup(RankingGroup group)
          Adds a group
protected  java.lang.String getAttributesXML()
           
 java.util.List getRankingGroups()
          Returns the list of RankingGroups
protected  java.lang.String getType()
           
 void setRankingGroups(java.util.List rankingGroups)
          Sets the list of RankingGroups
 java.lang.String toXML()
          Converts the ranking group to xml for submission to the engine.
 
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

RankingGroupBlock

public RankingGroupBlock()
Constructs an empty block


RankingGroupBlock

public RankingGroupBlock(java.util.List rankingGroups)
Constructs a block with the list of groups

Parameters:
rankingGroups - list of groups
Method Detail

addRankingGroup

public void addRankingGroup(RankingGroup group)
Adds a group

Parameters:
group - a group

getRankingGroups

public java.util.List getRankingGroups()
Returns the list of RankingGroups

Returns:
the list of RankingGroups

setRankingGroups

public void setRankingGroups(java.util.List rankingGroups)
Sets the list of RankingGroups

Parameters:
rankingGroups - the list of RankingGroups

getType

protected java.lang.String getType()

getAttributesXML

protected java.lang.String getAttributesXML()

toXML

public java.lang.String toXML()
Description copied from interface: RankingGroup
Converts the ranking group to xml for submission to the engine.

Specified by:
toXML in interface RankingGroup
Returns:
the ranking group xml