| java.lang.Object org.jpox.identity.SingleFieldIdentity org.jpox.identity.CharIdentity
CharIdentity | public class CharIdentity extends SingleFieldIdentity (Code) | | Single-Field identity with a char/Character field.
version: $Revision: 1.1 $ |
CharIdentity | public CharIdentity(Class pcClass, char key)(Code) | | Constructor with class and key.
Parameters: pcClass - the target class Parameters: key - the key |
CharIdentity | public CharIdentity(Class pcClass, Character key)(Code) | | Constructor with class and key.
Parameters: pcClass - the target class Parameters: key - the key |
CharIdentity | public CharIdentity(Class pcClass, String str)(Code) | | Constructor with class and key. The String must have exactly one character.
Parameters: pcClass - the target class Parameters: str - the key |
CharIdentity | public CharIdentity()(Code) | | Constructor only for Externalizable.
|
createKeyAsObject | protected Object createKeyAsObject()(Code) | | Create the key as an Object.
the key as an Object since: 2.0 |
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 char 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 |
|
|