boolean equals(
Object obj
)
Check the class and class name and object type. If restored from serialization, class will be null so compare class name.
- Parameters:
obj
- the other object
- Return:
- true if the class or class name is the same
- Since:
- JDO 1.0