org.sourceforge.jemm.database
Class EnumId
java.lang.Object
org.sourceforge.jemm.database.EnumId
- All Implemented Interfaces:
- java.io.Serializable
public class EnumId
- extends java.lang.Object
- implements java.io.Serializable
The id type for stored enumerated types.
- Author:
- Rory Graves
- See Also:
- Serialized Form
Constructor Summary |
EnumId(long internalEnumId)
Creates an enum id with the given internal id. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EnumId
public EnumId(long internalEnumId)
- Creates an enum id with the given internal id.
- Parameters:
internalEnumId
- The internal id value.
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getInternalEnumId
public long getInternalEnumId()
- Return the internal id value of this id.
- Returns:
- The internal id value.
Copyright © 2009. All Rights Reserved.