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 STRevisionAction action  
    protected java.lang.Boolean alwaysShow  
    protected java.lang.String author  
    protected java.lang.String cell  
    protected java.lang.String guid  
    protected java.lang.Boolean hiddenColumn  
    protected java.lang.Boolean hiddenRow  
    protected java.lang.Long newLength  
    protected java.lang.Boolean old  
    protected java.lang.Long oldLength  
    protected long sheetId  
  • Constructor Summary

    Constructors
    Constructor Description
    CTRevisionComment()  
  • Method Summary

    Modifier and Type Method Description
    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.
    STRevisionAction getAction()
    Gets the value of the action property.
    java.lang.String getAuthor()
    Gets the value of the author property.
    java.lang.String getCell()
    Gets the value of the cell property.
    java.lang.String getGuid()
    Gets the value of the guid property.
    long getNewLength()
    Gets the value of the newLength property.
    long getOldLength()
    Gets the value of the oldLength property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getSheetId()
    Gets the value of the sheetId property.
    boolean isAlwaysShow()
    Gets the value of the alwaysShow property.
    boolean isHiddenColumn()
    Gets the value of the hiddenColumn property.
    boolean isHiddenRow()
    Gets the value of the hiddenRow property.
    boolean isOld()
    Gets the value of the old property.
    void setAction​(STRevisionAction value)
    Sets the value of the action property.
    void setAlwaysShow​(java.lang.Boolean value)
    Sets the value of the alwaysShow property.
    void setAuthor​(java.lang.String value)
    Sets the value of the author property.
    void setCell​(java.lang.String value)
    Sets the value of the cell property.
    void setGuid​(java.lang.String value)
    Sets the value of the guid property.
    void setHiddenColumn​(java.lang.Boolean value)
    Sets the value of the hiddenColumn property.
    void setHiddenRow​(java.lang.Boolean value)
    Sets the value of the hiddenRow property.
    void setNewLength​(java.lang.Long value)
    Sets the value of the newLength property.
    void setOld​(java.lang.Boolean value)
    Sets the value of the old property.
    void setOldLength​(java.lang.Long value)
    Sets the value of the oldLength property.
    void setParent​(java.lang.Object parent)  
    void setSheetId​(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

      protected STRevisionAction action
    • alwaysShow

      protected java.lang.Boolean alwaysShow
    • old

      protected java.lang.Boolean old
    • hiddenRow

      protected java.lang.Boolean hiddenRow
    • hiddenColumn

      protected java.lang.Boolean hiddenColumn
    • 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 is String
    • 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 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​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.Boolean value)
      Sets the value of the hiddenColumn property.
      Parameters:
      value - allowed object is Boolean
    • 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 is String
    • 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 is Long
    • 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 is Long
    • getParent

      public java.lang.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​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • 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.