| java.lang.Object org.jpox.identity.SingleFieldIdentity org.jpox.identity.ShortIdentity
ShortIdentity | public class ShortIdentity extends SingleFieldIdentity (Code) | | Single-Field identity with a short/Short field.
version: $Revision: 1.1 $ |
ShortIdentity | public ShortIdentity(Class pcClass, short key)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: key - the key |
ShortIdentity | public ShortIdentity(Class pcClass, Short key)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: key - the key |
ShortIdentity | public ShortIdentity(Class pcClass, String str)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: str - the key |
ShortIdentity | public ShortIdentity()(Code) | | Constructor only for Externalizable.
|
createKeyAsObject | protected Object createKeyAsObject()(Code) | | Create the key as an Object.
the key as an Object |
equals | public boolean equals(Object obj)(Code) | | Determine if the other object represents the same object id.
Parameters: obj - the other object true if both objects represent the same object id |
getKey | public short getKey()(Code) | | Return the key.
the key |
toString | public String toString()(Code) | | Return the String form of the key.
the String form of the key |
writeExternal | public void writeExternal(ObjectOutput out) throws IOException(Code) | | Write this object. Write the superclass first.
Parameters: out - the output |
|
|