cgl.narada.service.storage.file
Class InventoryKey
java.lang.Object
com.coyotegulch.jisp.KeyObject
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
Fields inherited from class com.coyotegulch.jisp.KeyObject |
KEY_EQUAL, KEY_ERROR, KEY_LESS, KEY_MORE |
seqKey
public long seqKey
InventoryKey
public InventoryKey()
InventoryKey
public InventoryKey(long key_value)
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