public class IdentifiableObject<ObjectIdType,ObjectType>
extends java.lang.Object
| Constructor and Description |
|---|
IdentifiableObject(ObjectIdType objectId,
ObjectType object) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
ObjectType |
getObject() |
ObjectIdType |
getObjectId() |
int |
hashCode() |
void |
setObject(ObjectType object) |
void |
setObjectId(ObjectIdType objectId) |
public IdentifiableObject(ObjectIdType objectId, ObjectType object)
public ObjectIdType getObjectId()
public void setObjectId(ObjectIdType objectId)
public ObjectType getObject()
public void setObject(ObjectType object)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object