Class RevisionSheetName
java.lang.Object
com.independentsoft.office.spreadsheet.revisions.RevisionSheetName
The Class RevisionSheetName.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the new name.Gets the old name.intGets the revision id.intGets the sheet id.booleanChecks if is revision from rejection.booleanChecks if is revision undo rejected.voidsetNewName(String newName)Sets the new name.voidsetOldName(String oldName)Sets the old name.voidsetRevisionFromRejection(boolean revisionFromRejection)Sets the revision from rejection.voidsetRevisionID(int revisionID)Sets the revision id.voidsetRevisionUndoRejected(boolean revisionUndoRejected)Sets the revision undo rejected.voidsetSheetID(int sheetID)Sets the sheet id.toString()
-
Constructor Details
-
RevisionSheetName
public RevisionSheetName()Instantiates a new revision sheet name.
-
-
Method Details
-
clone
-
toString
-
getNewName
Gets the new name.- Returns:
- the new name
-
setNewName
Sets the new name.- Parameters:
newName- the new new name
-
getOldName
Gets the old name.- Returns:
- the old name
-
setOldName
Sets the old name.- Parameters:
oldName- the new old name
-
isRevisionUndoRejected
public boolean isRevisionUndoRejected()Checks if is revision undo rejected.- Returns:
- true, if is revision undo rejected
-
setRevisionUndoRejected
public void setRevisionUndoRejected(boolean revisionUndoRejected)Sets the revision undo rejected.- Parameters:
revisionUndoRejected- the new revision undo rejected
-
getRevisionID
public int getRevisionID()Gets the revision id.- Returns:
- the revision id
-
setRevisionID
public void setRevisionID(int revisionID)Sets the revision id.- Parameters:
revisionID- the new revision id
-
getSheetID
public int getSheetID()Gets the sheet id.- Returns:
- the sheet id
-
setSheetID
public void setSheetID(int sheetID)Sets the sheet id.- Parameters:
sheetID- the new sheet id
-
isRevisionFromRejection
public boolean isRevisionFromRejection()Checks if is revision from rejection.- Returns:
- true, if is revision from rejection
-
setRevisionFromRejection
public void setRevisionFromRejection(boolean revisionFromRejection)Sets the revision from rejection.- Parameters:
revisionFromRejection- the new revision from rejection
-