@Entity public class AdvancedRevisionEntity extends Object implements PersistenceEntity<Long>
revision entity also containing the actual user.DefaultRevisionEntity,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
private Date |
date |
private Long |
id |
private static long |
serialVersionUID
UID for serialization.
|
private long |
timestamp |
private String |
userLogin |
| Constructor and Description |
|---|
AdvancedRevisionEntity()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate() |
Long |
getId() |
int |
getModificationCounter() |
long |
getTimestamp() |
String |
getUserLogin() |
void |
setId(Long id) |
void |
setModificationCounter(int modificationCounter) |
void |
setTimestamp(long timestamp) |
void |
setUserLogin(String userLogin) |
private static final long serialVersionUID
private long timestamp
getTimestamp()private String userLogin
getUserLogin()public Long getId()
getId in interface GenericEntity<Long>public void setId(Long id)
setId in interface GenericEntity<Long>id - is the new value of getId().public long getTimestamp()
public void setTimestamp(long timestamp)
timestamp - is the new value of getTimestamp().public String getUserLogin()
public void setUserLogin(String userLogin)
userLogin - is the new value of getUserLogin().public int getModificationCounter()
getModificationCounter in interface GenericEntity<Long>public void setModificationCounter(int modificationCounter)
setModificationCounter in interface GenericEntity<Long>Copyright © 2014–2019 devon4j-Team. All rights reserved.