Class RevisionInsertSheet
java.lang.Object
com.independentsoft.office.spreadsheet.revisions.RevisionInsertSheet
The Class RevisionInsertSheet.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getName()Gets the name.intGets the revision id.intGets the sheet id.intGets the sheet position.booleanChecks if is revision from rejection.booleanChecks if is revision undo rejected.voidSets the 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.voidsetSheetPosition(int sheetPosition)Sets the sheet position.toString()
-
Constructor Details
-
RevisionInsertSheet
public RevisionInsertSheet()Instantiates a new revision insert sheet.
-
-
Method Details
-
clone
-
toString
-
getName
Gets the name.- Returns:
- the name
-
setName
Sets the name.- Parameters:
name- the new 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
-
getSheetPosition
public int getSheetPosition()Gets the sheet position.- Returns:
- the sheet position
-
setSheetPosition
public void setSheetPosition(int sheetPosition)Sets the sheet position.- Parameters:
sheetPosition- the new sheet position
-
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
-