Class Audit
- java.lang.Object
-
- com.tetsuwantech.atom.database.GenericEntity
-
- com.tetsuwantech.atom.database.audit.Audit
-
- All Implemented Interfaces:
Serializable
@Entity public class Audit extends GenericEntity
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.tetsuwantech.atom.database.GenericEntity
LENGTH, LONG_LENGTH, VERY_LONG_LENGTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Action
getAction()
Long
getAuditId()
String
getColumn()
Instant
getDate()
String
getNewValue()
String
getOldValue()
Subject
getSubject()
String
getTable()
void
setAction(Action action)
void
setAuditId(Long auditId)
void
setColumn(String column)
void
setDate(Instant date)
void
setNewValue(String newValue)
void
setOldValue(String oldValue)
void
setSubject(Subject subject)
void
setTable(String table)
String
toString()
-
Methods inherited from class com.tetsuwantech.atom.database.GenericEntity
equals, getId, hashCode, setId
-
-
-
-
Method Detail
-
getSubject
public Subject getSubject()
- Returns:
- the subject
-
setSubject
public void setSubject(Subject subject)
- Parameters:
subject
- the subject to set
-
getTable
public String getTable()
- Returns:
- the table
-
setTable
public void setTable(String table)
- Parameters:
table
- the table to set
-
getAuditId
public Long getAuditId()
- Returns:
- the auditId
-
setAuditId
public void setAuditId(Long auditId)
- Parameters:
auditId
- the auditId to set
-
getDate
public Instant getDate()
- Returns:
- the date
-
setDate
public void setDate(Instant date)
- Parameters:
date
- the date to set
-
getColumn
public String getColumn()
- Returns:
- the column
-
setColumn
public void setColumn(String column)
- Parameters:
column
- the column to set
-
getOldValue
public String getOldValue()
- Returns:
- the oldValue
-
setOldValue
public void setOldValue(String oldValue)
- Parameters:
oldValue
- the oldValue to set
-
getNewValue
public String getNewValue()
- Returns:
- the newValue
-
setNewValue
public void setNewValue(String newValue)
- Parameters:
newValue
- the newValue to set
-
getAction
public Action getAction()
- Returns:
- the action
-
setAction
public void setAction(Action action)
- Parameters:
action
- the action to set
-
toString
public String toString()
- Overrides:
toString
in classGenericEntity
-
-