@Entity(name="COM_EVENT_DATA") public class EventData extends EntityJPA<Long> implements IEventData
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_NAME |
DEFAULT_STRING_LENGTH, ID| Modifier | Constructor and Description |
|---|---|
protected |
EventData()
Constructeur par défaut pour la persistence.
|
|
EventData(String entityName,
String entityId,
String code,
String plugin,
String auteur)
Constructeur général.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAuteur()
Getter de l'auteur.
|
String |
getCode()
Getter de code.
|
Date |
getDateRecord()
Getter de la dateRecordInternal.
|
protected Calendar |
getDateRecordInternal()
Getter pour la persistence de la dateRecordInternal.
|
String |
getEntityId()
Getter de entityId.
|
String |
getEntityName()
Getter de entityName.
|
Long |
getId()
Getter de id.
|
String |
getPlugin()
Getter du plugin à l'origine de l'évènement.
|
int |
hashCode() |
protected void |
setDateRecordInternal(Calendar calendar)
Setter pour la persistence de la dateRecordInternal.
|
void |
setId(Long id) |
String |
toString() |
public static final String ENTITY_NAME
protected EventData()
public EventData(String entityName, String entityId, String code, String plugin, String auteur)
entityName - nom de l'entity.entityId - identifiant technique de l'entity.code - code technique de caractérisant l'évènement.plugin - nom du plugin ayant provoqué l'évènement.public Long getId()
getId in interface IEventDatagetId in class EntityJPA<Long>public String getCode()
getCode in interface IEventDatapublic String getEntityId()
getEntityId in interface IEventDatapublic String getEntityName()
getEntityName in interface IEventDataprotected Calendar getDateRecordInternal()
protected void setDateRecordInternal(Calendar calendar)
calendar - date d'enregistrement.public Date getDateRecord()
getDateRecord in interface IEventDatapublic String getAuteur()
getAuteur in interface IEventDatapublic String getPlugin()
getPlugin in interface IEventDataCopyright © 2012. All Rights Reserved.