public class EntityIdentification extends Object implements CopyableTo<EntityIdentification>
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected String |
type |
| Constructor and Description |
|---|
EntityIdentification() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyTo(EntityIdentification target)
Copy recursively all attributes of this object to target.
|
boolean |
equals(Object that) |
String |
getId()
Gets the value of the id property.
|
String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
EntityIdentification |
setId(String value)
Sets the value of the id property.
|
EntityIdentification |
setType(String value)
Sets the value of the type property.
|
String |
toString() |
public String getType()
Stringpublic EntityIdentification setType(String value)
value - allowed object is
Stringpublic EntityIdentification setId(String value)
value - allowed object is
Stringpublic final void copyTo(EntityIdentification target)
CopyableToCopyableTo, then copyTo is invoked also in that attribute.copyTo in interface CopyableTo<EntityIdentification>target - the object where these attributes will be copied. may be null, in which case nothing happens.