atg.search.routing.command.search
Class SourceTerm

java.lang.Object
  extended by atg.search.routing.command.SearchXMLObject
      extended by atg.search.routing.command.search.SourceTerm
All Implemented Interfaces:
java.io.Serializable

public class SourceTerm
extends atg.search.routing.command.SearchXMLObject
implements java.io.Serializable

A source term.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
SourceTerm()
           
 
Method Summary
 boolean equals(java.lang.Object pObject)
           
protected  void getAttributeXML(java.lang.StringBuilder cmd)
           
protected  void getBodyXML(java.lang.StringBuilder cmd)
           
 java.lang.String getFrom()
          Returns the source term of the expansion
 java.lang.String getRequestTag()
           
 ExpansionType getType()
          Returns the type (or strength) of the expansion
 void setFrom(java.lang.String from)
          Sets the source term of the expansion
 void setType(ExpansionType type)
          Sets the type (or strength) of the expansion
 
Methods inherited from class atg.search.routing.command.SearchXMLObject
appendComplexXml, appendOptionalAttr, appendOptionalElem, appendOptionalElem, appendOptionalElem, appendOptionalValue, appendRequiredAttr, appendRequiredElem, appendRequiredElem, appendRequiredValue, getAllAttributeXML, getAllBodyXML, getDefaultXmlBytes, getParentXMLObject, getXmlPath, isPrintedFirstChild, setParentXMLObject, setPrintedFirstChild, toString, toXML, toXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

SourceTerm

public SourceTerm()
Method Detail

equals

public boolean equals(java.lang.Object pObject)
Overrides:
equals in class java.lang.Object

getFrom

public java.lang.String getFrom()
Returns the source term of the expansion

Returns:
Source term of the expansion

setFrom

public void setFrom(java.lang.String from)
Sets the source term of the expansion

Parameters:
from - Source term of the expansion

getType

public ExpansionType getType()
Returns the type (or strength) of the expansion

Returns:
The type (or strength) of the expansion

setType

public void setType(ExpansionType type)
Sets the type (or strength) of the expansion

Parameters:
type - The type (or strength) of the expansion

getRequestTag

public java.lang.String getRequestTag()
Specified by:
getRequestTag in class atg.search.routing.command.SearchXMLObject

getAttributeXML

protected void getAttributeXML(java.lang.StringBuilder cmd)
                        throws atg.search.routing.command.IncompleteCommandException
Overrides:
getAttributeXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException

getBodyXML

protected void getBodyXML(java.lang.StringBuilder cmd)
                   throws atg.search.routing.command.IncompleteCommandException
Overrides:
getBodyXML in class atg.search.routing.command.SearchXMLObject
Throws:
atg.search.routing.command.IncompleteCommandException