Package io.keikai.model.impl
Class RevisionImpl
java.lang.Object
io.keikai.model.impl.RevisionImpl
- All Implemented Interfaces:
SRevision,Serializable
- Direct Known Subclasses:
RevisionCellChangeImpl,RevisionFormatImpl,RevisionInsertDeleteImpl
Base implementation of
SRevision. Subclassed by specific revision types.- Since:
- 7.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRevisionImpl(long id, RevisionType type, String author, Date timestamp, String sheetName) Creates a new revision. -
Method Summary
-
Constructor Details
-
RevisionImpl
Creates a new revision.- Parameters:
id- the revision IDtype- the revision typeauthor- the author nametimestamp- the timestampsheetName- the sheet name
-
-
Method Details
-
getId
public long getId()Description copied from interface:SRevisionReturns the revision ID. -
getType
Description copied from interface:SRevisionReturns the type of this revision. -
getAuthor
Description copied from interface:SRevisionReturns the author (user name) who made this change. -
getTimestamp
Description copied from interface:SRevisionReturns the timestamp when this revision was recorded.- Specified by:
getTimestampin interfaceSRevision- Returns:
- the timestamp
-
getSheetName
Description copied from interface:SRevisionReturns the name of the sheet this revision applies to.- Specified by:
getSheetNamein interfaceSRevision- Returns:
- the sheet name
-
toString
-