cgl.narada.service.storage.file
Class InventoryKey

java.lang.Object
  extended by com.coyotegulch.jisp.KeyObject
      extended by cgl.narada.service.storage.file.InventoryKey
All Implemented Interfaces:
Externalizable, Serializable

public class InventoryKey
extends com.coyotegulch.jisp.KeyObject

TODO: Template, Profile and Entidy can use one KeyObject? Since all of them is just about one integer Storage Service File implement

Version:
1.0
See Also:
Serialized Form

Field Summary
 long seqKey
           
 
Fields inherited from class com.coyotegulch.jisp.KeyObject
KEY_EQUAL, KEY_ERROR, KEY_LESS, KEY_MORE
 
Constructor Summary
InventoryKey()
           
InventoryKey(long key_value)
           
 
Method Summary
 int compareTo(com.coyotegulch.jisp.KeyObject key)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 long longValue()
           
 com.coyotegulch.jisp.KeyObject makeNullKey()
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

seqKey

public long seqKey
Constructor Detail

InventoryKey

public InventoryKey()

InventoryKey

public InventoryKey(long key_value)
Method Detail

compareTo

public int compareTo(com.coyotegulch.jisp.KeyObject key)
Specified by:
compareTo in class com.coyotegulch.jisp.KeyObject

makeNullKey

public com.coyotegulch.jisp.KeyObject makeNullKey()
Specified by:
makeNullKey in class com.coyotegulch.jisp.KeyObject

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Throws:
IOException
ClassNotFoundException

longValue

public long longValue()

toString

public String toString()
Overrides:
toString in class com.coyotegulch.jisp.KeyObject

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


For comments and suggestions please send e-mail to The NaradaBrokering Project