com.primus.searchcommon
Class ConstantQueryID

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

public class ConstantQueryID
extends ConstantID

Wraps a unique Query ID.

See Also:
Serialized Form

Constructor Summary
ConstantQueryID(long number)
          Returns Query ID with specified number.
ConstantQueryID(java.lang.Long number)
          Returns Query ID with specified number.
 
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

ConstantQueryID

public ConstantQueryID(long number)
Returns Query ID with specified number.

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

ConstantQueryID

public ConstantQueryID(java.lang.Long number)
Returns Query ID with specified number.

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