Class CTRevisionComment

java.lang.Object
org.xlsx4j.sml.CTRevisionComment
All Implemented Interfaces:
Child

public class CTRevisionComment extends 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 Details

    • sheetId

      protected long sheetId
    • cell

      protected String cell
    • guid

      protected String guid
    • action

      protected STRevisionAction action
    • alwaysShow

      protected Boolean alwaysShow
    • old

      protected Boolean old
    • hiddenRow

      protected Boolean hiddenRow
    • hiddenColumn

      protected Boolean hiddenColumn
    • author

      protected String author
    • oldLength

      protected Long oldLength
    • newLength

      protected 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 String getCell()
      Gets the value of the cell property.
      Returns:
      possible object is String
    • setCell

      public void setCell(String value)
      Sets the value of the cell property.
      Parameters:
      value - allowed object is String
    • getGuid

      public String getGuid()
      Gets the value of the guid property.
      Returns:
      possible object is String
    • setGuid

      public void setGuid(String value)
      Sets the value of the guid property.
      Parameters:
      value - allowed object is String
    • getAction

      public STRevisionAction getAction()
      Gets the value of the action property.
      Returns:
      possible object is STRevisionAction
    • setAction

      public void setAction(STRevisionAction value)
      Sets the value of the action property.
      Parameters:
      value - allowed object is STRevisionAction
    • isAlwaysShow

      public boolean isAlwaysShow()
      Gets the value of the alwaysShow property.
      Returns:
      possible object is Boolean
    • setAlwaysShow

      public void setAlwaysShow(Boolean value)
      Sets the value of the alwaysShow property.
      Parameters:
      value - allowed object is Boolean
    • isOld

      public boolean isOld()
      Gets the value of the old property.
      Returns:
      possible object is Boolean
    • setOld

      public void setOld(Boolean value)
      Sets the value of the old property.
      Parameters:
      value - allowed object is Boolean
    • isHiddenRow

      public boolean isHiddenRow()
      Gets the value of the hiddenRow property.
      Returns:
      possible object is Boolean
    • setHiddenRow

      public void setHiddenRow(Boolean value)
      Sets the value of the hiddenRow property.
      Parameters:
      value - allowed object is Boolean
    • isHiddenColumn

      public boolean isHiddenColumn()
      Gets the value of the hiddenColumn property.
      Returns:
      possible object is Boolean
    • setHiddenColumn

      public void setHiddenColumn(Boolean value)
      Sets the value of the hiddenColumn property.
      Parameters:
      value - allowed object is Boolean
    • getAuthor

      public String getAuthor()
      Gets the value of the author property.
      Returns:
      possible object is String
    • setAuthor

      public void setAuthor(String value)
      Sets the value of the author property.
      Parameters:
      value - allowed object is String
    • getOldLength

      public long getOldLength()
      Gets the value of the oldLength property.
      Returns:
      possible object is Long
    • setOldLength

      public void setOldLength(Long value)
      Sets the value of the oldLength property.
      Parameters:
      value - allowed object is Long
    • getNewLength

      public long getNewLength()
      Gets the value of the newLength property.
      Returns:
      possible object is Long
    • setNewLength

      public void setNewLength(Long value)
      Sets the value of the newLength property.
      Parameters:
      value - allowed object is Long
    • getParent

      public Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent(Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, 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.