public abstract class EventImpl extends Object implements Event, TransactionOrderingAware, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
id |
protected long |
seqNumber |
protected Long |
timestamp |
protected String |
type |
protected String |
username |
| Constructor and Description |
|---|
EventImpl() |
EventImpl(long seqNumber,
String type,
long timestamp,
String username) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
Long |
getSeqNumber() |
Long |
getTimestamp() |
String |
getType() |
String |
getUsername() |
int |
hashCode() |
void |
setId(String id) |
void |
setSeqNumber(long seqNumber) |
void |
setTimestamp(Long timestamp) |
void |
setType(String type) |
void |
setUsername(String username) |
protected String id
protected String type
protected String username
protected Long timestamp
protected long seqNumber
public Long getSeqNumber()
getSeqNumber in interface TransactionOrderingAwarepublic void setSeqNumber(long seqNumber)
public void setUsername(String username)
public String getUsername()
getUsername in interface Eventpublic void setId(String id)
public void setType(String type)
public void setTimestamp(Long timestamp)
public Long getTimestamp()
getTimestamp in interface EventCopyright © 2005–2018 Alfresco Software. All rights reserved.