public class EntityIdentification extends java.lang.Object implements CopyableTo<EntityIdentification>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
id |
protected java.lang.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(java.lang.Object that) |
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.String |
getType()
Gets the value of the type property.
|
int |
hashCode() |
EntityIdentification |
setId(java.lang.String value)
Sets the value of the id property.
|
EntityIdentification |
setType(java.lang.String value)
Sets the value of the type property.
|
java.lang.String |
toString() |
public java.lang.String getType()
Stringpublic EntityIdentification setType(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getId()
Stringpublic EntityIdentification setId(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic 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.