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 ActiongetAction()LonggetAuditId()StringgetColumn()InstantgetDate()StringgetNewValue()StringgetOldValue()SubjectgetSubject()StringgetTable()voidsetAction(Action action)voidsetAuditId(Long auditId)voidsetColumn(String column)voidsetDate(Instant date)voidsetNewValue(String newValue)voidsetOldValue(String oldValue)voidsetSubject(Subject subject)voidsetTable(String table)StringtoString()-
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:
toStringin classGenericEntity
-
-