| java.lang.Object org.jpox.identity.SingleFieldIdentity org.jpox.identity.LongIdentity
LongIdentity | public class LongIdentity extends SingleFieldIdentity (Code) | | Single-Field identity with a long/Long field.
version: $Revision: 1.1 $ |
LongIdentity | public LongIdentity(Class pcClass, long key)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: key - the key |
LongIdentity | public LongIdentity(Class pcClass, Long key)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: key - the key |
LongIdentity | public LongIdentity(Class pcClass, String str)(Code) | | Constructor with class and key.
Parameters: pcClass - the class Parameters: str - the key |
LongIdentity | public LongIdentity()(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 long 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 |
|
|