com.primus.searchcommon
Class ConstantTopicID

java.lang.Object
  extended by com.primus.searchcommon.ConstantID
      extended by com.primus.searchcommon.ConstantTopicID
All Implemented Interfaces:
java.io.Serializable

public class ConstantTopicID
extends ConstantID

wraps the Topic unique ID.

See Also:
Serialized Form

Constructor Summary
ConstantTopicID(long number)
          Returns Topic ID with specified number.
ConstantTopicID(java.lang.Long number)
          Creates and returns new Topic ID.
 
Method Summary
 
Methods inherited from class com.primus.searchcommon.ConstantID
equals, hashCode, toInt, toLong, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConstantTopicID

public ConstantTopicID(java.lang.Long number)
Creates and returns new Topic ID.


ConstantTopicID

public ConstantTopicID(long number)
Returns Topic ID with specified number.

Parameters:
number - a long value of ID to be instanciated