public class IdentifiableEntityData extends Object implements Serializable
| Constructor and Description |
|---|
IdentifiableEntityData() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(IdentifiableEntityData data) |
boolean |
equals(Object obj) |
Long |
getId() |
Map<String,Object> |
getProperties() |
<T> T |
getProperty(String key) |
int |
hashCode() |
void |
setId(Long id) |
<T> void |
setProperty(String key,
T value)
Stores or replaces a value for a property.
|
public void copy(IdentifiableEntityData data)
data - The item to copy the data from.public Long getId()
public <T> T getProperty(String key)
T - Type of the object.key - The key.public void setId(Long id)
id - the id to setpublic <T> void setProperty(String key, T value)
T - Type of the value.key - Key of the property.value - Value of the property.Copyright © 2019 Communote team. All rights reserved.