atg.search.routing.command.search
Class HDoc

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

public class HDoc
extends java.lang.Object
implements java.io.Serializable

Agiven document only appears in a single partition, and within that partition it has a handle, or id. This class represents that handle.

See Also:
Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
HDoc()
           
 
Method Summary
 java.lang.String getContentId()
          Returns the content id of the partition
 int getHDoc()
          Returns the hdoc handle
 void setContentId(java.lang.String pContentId)
          Sets the content id of the partition
 void setHDoc(int pHDoc)
          Sets the hdoc handle
 void toXML(java.lang.StringBuilder buf)
           
 
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

HDoc

public HDoc()
Method Detail

getHDoc

public int getHDoc()
Returns the hdoc handle

Returns:
the hdoc handle

setHDoc

public void setHDoc(int pHDoc)
Sets the hdoc handle

Parameters:
pHDoc -

getContentId

public java.lang.String getContentId()
Returns the content id of the partition

Returns:
the content id of the partition

setContentId

public void setContentId(java.lang.String pContentId)
Sets the content id of the partition

Parameters:
pContentId -

toXML

public void toXML(java.lang.StringBuilder buf)