org.sourceforge.jemm.database
Class ClassId
java.lang.Object
org.sourceforge.jemm.database.ClassId
- All Implemented Interfaces:
- java.io.Serializable
public class ClassId
- extends java.lang.Object
- implements java.io.Serializable
ClassId represents the id assigned to a class when it has been registered with a database.
- Author:
- Rory Graves
- See Also:
- Serialized Form
Constructor Summary |
ClassId(long internalClassId)
Create a ClassId using the given internal value. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ClassId
public ClassId(long internalClassId)
- Create a ClassId using the given internal value.
- Parameters:
internalClassId
- 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
getInternalClassId
public long getInternalClassId()
- Get the internal representation of class id.
- Returns:
- The internal representation of the class id.
Copyright © 2009. All Rights Reserved.