cgl.narada.service.storage.file
Class EntityKey

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

public class EntityKey
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
 int idKey
           
 
Fields inherited from class com.coyotegulch.jisp.KeyObject
KEY_EQUAL, KEY_ERROR, KEY_LESS, KEY_MORE
 
Constructor Summary
EntityKey()
           
EntityKey(int key_value)
           
 
Method Summary
 int compareTo(com.coyotegulch.jisp.KeyObject key)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 int intValue()
           
 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

idKey

public int idKey
Constructor Detail

EntityKey

public EntityKey()

EntityKey

public EntityKey(int 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

intValue

public int intValue()

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