cgl.narada.service.storage.file
Class EntityInventoryKey

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

public class EntityInventoryKey
extends com.coyotegulch.jisp.KeyObject

Storage Service File implement

Version:
1.0
See Also:
Serialized Form

Field Summary
 int entityID
           
 long seqNum
           
 
Fields inherited from class com.coyotegulch.jisp.KeyObject
KEY_EQUAL, KEY_ERROR, KEY_LESS, KEY_MORE
 
Constructor Summary
EntityInventoryKey()
           
EntityInventoryKey(long seq, int key_value)
           
 
Method Summary
 int compareTo(com.coyotegulch.jisp.KeyObject key)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 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

seqNum

public long seqNum

entityID

public int entityID
Constructor Detail

EntityInventoryKey

public EntityInventoryKey(long seq,
                          int key_value)

EntityInventoryKey

public EntityInventoryKey()
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

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