IDT - the type of the technical identifier associated to this entity.public interface IEntity<IDT extends Serializable>
| Modifier and Type | Method and Description |
|---|---|
Object |
get(String attributeName)
Gets the value of an attribute of this entity by reflection.
|
IDT |
getId()
Gets the technical identifier of the entity.
|
void |
set(String attributeName,
Object attributeValue)
Sets the value of an attribute of this entity by reflection.
|
void |
setId(IDT id)
Sets the technical identifier of the entity.
|
Object get(String attributeName)
attributeName - the name of the attribute for which one to get a value.attributeName.IDT getId()
void set(String attributeName, Object attributeValue)
attributeName - the name of the attribute for which one to set a value.attributeValue - the value of the attribute to set.void setId(IDT id)
id - the technical identifier of the entity.Copyright © 2017 GOMOOB. All rights reserved.