public final class Identification extends Object
Modifier and Type | Method and Description |
---|---|
protected static Identification |
createIdentification(Identifiable identifiable) |
protected static Identification |
createIdentification(Identifiable identifiable,
boolean createdFromInstance) |
boolean |
equals(Identification identification)
returns whether this and the other identification belong to the same Identifiable
|
boolean |
equals(Object o) |
String |
getID()
returns the ID of the owner of the Identification
|
int |
hashCode() |
boolean |
isCreatedFromInstance()
this method returns whether this Identification Object was created by the owner
|
String |
toString() |
protected static Identification createIdentification(Identifiable identifiable)
protected static Identification createIdentification(Identifiable identifiable, boolean createdFromInstance)
public String getID()
public boolean isCreatedFromInstance()
public boolean equals(Identification identification)
identification
- an instance of identificationCopyright © 2016. All rights reserved.