Package org.xlsx4j.sml
Class CTRevisionComment
java.lang.Object
org.xlsx4j.sml.CTRevisionComment
- All Implemented Interfaces:
Child
public class CTRevisionComment extends java.lang.Object implements Child
Java class for CT_RevisionComment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_RevisionComment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="sheetId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="cell" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_CellRef" />
<attribute name="guid" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
<attribute name="action" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_RevisionAction" default="add" />
<attribute name="alwaysShow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="old" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="hiddenRow" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="hiddenColumn" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
<attribute name="author" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Xstring" />
<attribute name="oldLength" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
<attribute name="newLength" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected STRevisionActionactionprotected java.lang.BooleanalwaysShowprotected java.lang.Stringauthorprotected java.lang.Stringcellprotected java.lang.Stringguidprotected java.lang.BooleanhiddenColumnprotected java.lang.BooleanhiddenRowprotected java.lang.LongnewLengthprotected java.lang.Booleanoldprotected java.lang.LongoldLengthprotected longsheetId -
Constructor Summary
Constructors Constructor Description CTRevisionComment() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.STRevisionActiongetAction()Gets the value of the action property.java.lang.StringgetAuthor()Gets the value of the author property.java.lang.StringgetCell()Gets the value of the cell property.java.lang.StringgetGuid()Gets the value of the guid property.longgetNewLength()Gets the value of the newLength property.longgetOldLength()Gets the value of the oldLength property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.longgetSheetId()Gets the value of the sheetId property.booleanisAlwaysShow()Gets the value of the alwaysShow property.booleanisHiddenColumn()Gets the value of the hiddenColumn property.booleanisHiddenRow()Gets the value of the hiddenRow property.booleanisOld()Gets the value of the old property.voidsetAction(STRevisionAction value)Sets the value of the action property.voidsetAlwaysShow(java.lang.Boolean value)Sets the value of the alwaysShow property.voidsetAuthor(java.lang.String value)Sets the value of the author property.voidsetCell(java.lang.String value)Sets the value of the cell property.voidsetGuid(java.lang.String value)Sets the value of the guid property.voidsetHiddenColumn(java.lang.Boolean value)Sets the value of the hiddenColumn property.voidsetHiddenRow(java.lang.Boolean value)Sets the value of the hiddenRow property.voidsetNewLength(java.lang.Long value)Sets the value of the newLength property.voidsetOld(java.lang.Boolean value)Sets the value of the old property.voidsetOldLength(java.lang.Long value)Sets the value of the oldLength property.voidsetParent(java.lang.Object parent)voidsetSheetId(long value)Sets the value of the sheetId property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
sheetId
protected long sheetId -
cell
protected java.lang.String cell -
guid
protected java.lang.String guid -
action
-
alwaysShow
protected java.lang.Boolean alwaysShow -
old
protected java.lang.Boolean old -
author
protected java.lang.String author -
oldLength
protected java.lang.Long oldLength -
newLength
protected java.lang.Long newLength
-
-
Constructor Details
-
CTRevisionComment
public CTRevisionComment()
-
-
Method Details
-
getSheetId
public long getSheetId()Gets the value of the sheetId property. -
setSheetId
public void setSheetId(long value)Sets the value of the sheetId property. -
getCell
public java.lang.String getCell()Gets the value of the cell property.- Returns:
- possible object is
String
-
setCell
public void setCell(java.lang.String value)Sets the value of the cell property.- Parameters:
value- allowed object isString
-
getGuid
public java.lang.String getGuid()Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
public void setGuid(java.lang.String value)Sets the value of the guid property.- Parameters:
value- allowed object isString
-
getAction
Gets the value of the action property.- Returns:
- possible object is
STRevisionAction
-
setAction
Sets the value of the action property.- Parameters:
value- allowed object isSTRevisionAction
-
isAlwaysShow
public boolean isAlwaysShow()Gets the value of the alwaysShow property.- Returns:
- possible object is
Boolean
-
setAlwaysShow
public void setAlwaysShow(java.lang.Boolean value)Sets the value of the alwaysShow property.- Parameters:
value- allowed object isBoolean
-
isOld
public boolean isOld()Gets the value of the old property.- Returns:
- possible object is
Boolean
-
setOld
public void setOld(java.lang.Boolean value)Sets the value of the old property.- Parameters:
value- allowed object isBoolean
-
isHiddenRow
public boolean isHiddenRow()Gets the value of the hiddenRow property.- Returns:
- possible object is
Boolean
-
setHiddenRow
public void setHiddenRow(java.lang.Boolean value)Sets the value of the hiddenRow property.- Parameters:
value- allowed object isBoolean
-
isHiddenColumn
public boolean isHiddenColumn()Gets the value of the hiddenColumn property.- Returns:
- possible object is
Boolean
-
setHiddenColumn
public void setHiddenColumn(java.lang.Boolean value)Sets the value of the hiddenColumn property.- Parameters:
value- allowed object isBoolean
-
getAuthor
public java.lang.String getAuthor()Gets the value of the author property.- Returns:
- possible object is
String
-
setAuthor
public void setAuthor(java.lang.String value)Sets the value of the author property.- Parameters:
value- allowed object isString
-
getOldLength
public long getOldLength()Gets the value of the oldLength property.- Returns:
- possible object is
Long
-
setOldLength
public void setOldLength(java.lang.Long value)Sets the value of the oldLength property.- Parameters:
value- allowed object isLong
-
getNewLength
public long getNewLength()Gets the value of the newLength property.- Returns:
- possible object is
Long
-
setNewLength
public void setNewLength(java.lang.Long value)Sets the value of the newLength property.- Parameters:
value- allowed object isLong
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-