Class CTRevisionHeaders

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

public class CTRevisionHeaders
extends java.lang.Object
implements Child

Java class for CT_RevisionHeaders complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="CT_RevisionHeaders">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="header" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_RevisionHeader" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="guid" use="required" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
       <attribute name="lastGuid" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
       <attribute name="shared" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="diskRevisions" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="history" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="trackRevisions" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="exclusive" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="revisionId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="0" />
       <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}int" default="1" />
       <attribute name="keepChangeHistory" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="protected" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="preserveHistory" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" default="30" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected java.lang.Boolean _protected  
    protected java.lang.Boolean diskRevisions  
    protected java.lang.Boolean exclusive  
    protected java.lang.String guid  
    protected java.util.List<CTRevisionHeader> header  
    protected java.lang.Boolean history  
    protected java.lang.Boolean keepChangeHistory  
    protected java.lang.String lastGuid  
    protected java.lang.Long preserveHistory  
    protected java.lang.Long revisionId  
    protected java.lang.Boolean shared  
    protected java.lang.Boolean trackRevisions  
    protected java.lang.Integer version  
  • Constructor Summary

    Constructors
    Constructor Description
    CTRevisionHeaders()  
  • 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.
    java.lang.String getGuid()
    Gets the value of the guid property.
    java.util.List<CTRevisionHeader> getHeader()
    Gets the value of the header property.
    java.lang.String getLastGuid()
    Gets the value of the lastGuid property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    long getPreserveHistory()
    Gets the value of the preserveHistory property.
    long getRevisionId()
    Gets the value of the revisionId property.
    int getVersion()
    Gets the value of the version property.
    boolean isDiskRevisions()
    Gets the value of the diskRevisions property.
    boolean isExclusive()
    Gets the value of the exclusive property.
    boolean isHistory()
    Gets the value of the history property.
    boolean isKeepChangeHistory()
    Gets the value of the keepChangeHistory property.
    boolean isProtected()
    Gets the value of the protected property.
    boolean isShared()
    Gets the value of the shared property.
    boolean isTrackRevisions()
    Gets the value of the trackRevisions property.
    void setDiskRevisions​(java.lang.Boolean value)
    Sets the value of the diskRevisions property.
    void setExclusive​(java.lang.Boolean value)
    Sets the value of the exclusive property.
    void setGuid​(java.lang.String value)
    Sets the value of the guid property.
    void setHistory​(java.lang.Boolean value)
    Sets the value of the history property.
    void setKeepChangeHistory​(java.lang.Boolean value)
    Sets the value of the keepChangeHistory property.
    void setLastGuid​(java.lang.String value)
    Sets the value of the lastGuid property.
    void setParent​(java.lang.Object parent)  
    void setPreserveHistory​(java.lang.Long value)
    Sets the value of the preserveHistory property.
    void setProtected​(java.lang.Boolean value)
    Sets the value of the protected property.
    void setRevisionId​(java.lang.Long value)
    Sets the value of the revisionId property.
    void setShared​(java.lang.Boolean value)
    Sets the value of the shared property.
    void setTrackRevisions​(java.lang.Boolean value)
    Sets the value of the trackRevisions property.
    void setVersion​(java.lang.Integer value)
    Sets the value of the version property.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • guid

      protected java.lang.String guid
    • lastGuid

      protected java.lang.String lastGuid
    • shared

      protected java.lang.Boolean shared
    • diskRevisions

      protected java.lang.Boolean diskRevisions
    • history

      protected java.lang.Boolean history
    • trackRevisions

      protected java.lang.Boolean trackRevisions
    • exclusive

      protected java.lang.Boolean exclusive
    • revisionId

      protected java.lang.Long revisionId
    • version

      protected java.lang.Integer version
    • keepChangeHistory

      protected java.lang.Boolean keepChangeHistory
    • _protected

      protected java.lang.Boolean _protected
    • preserveHistory

      protected java.lang.Long preserveHistory
  • Constructor Details

    • CTRevisionHeaders

      public CTRevisionHeaders()
  • Method Details

    • getHeader

      public java.util.List<CTRevisionHeader> getHeader()
      Gets the value of the header property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the header property.

      For example, to add a new item, do as follows:

          getHeader().add(newItem);
       

      Objects of the following type(s) are allowed in the list CTRevisionHeader

    • 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
    • getLastGuid

      public java.lang.String getLastGuid()
      Gets the value of the lastGuid property.
      Returns:
      possible object is String
    • setLastGuid

      public void setLastGuid​(java.lang.String value)
      Sets the value of the lastGuid property.
      Parameters:
      value - allowed object is String
    • isShared

      public boolean isShared()
      Gets the value of the shared property.
      Returns:
      possible object is Boolean
    • setShared

      public void setShared​(java.lang.Boolean value)
      Sets the value of the shared property.
      Parameters:
      value - allowed object is Boolean
    • isDiskRevisions

      public boolean isDiskRevisions()
      Gets the value of the diskRevisions property.
      Returns:
      possible object is Boolean
    • setDiskRevisions

      public void setDiskRevisions​(java.lang.Boolean value)
      Sets the value of the diskRevisions property.
      Parameters:
      value - allowed object is Boolean
    • isHistory

      public boolean isHistory()
      Gets the value of the history property.
      Returns:
      possible object is Boolean
    • setHistory

      public void setHistory​(java.lang.Boolean value)
      Sets the value of the history property.
      Parameters:
      value - allowed object is Boolean
    • isTrackRevisions

      public boolean isTrackRevisions()
      Gets the value of the trackRevisions property.
      Returns:
      possible object is Boolean
    • setTrackRevisions

      public void setTrackRevisions​(java.lang.Boolean value)
      Sets the value of the trackRevisions property.
      Parameters:
      value - allowed object is Boolean
    • isExclusive

      public boolean isExclusive()
      Gets the value of the exclusive property.
      Returns:
      possible object is Boolean
    • setExclusive

      public void setExclusive​(java.lang.Boolean value)
      Sets the value of the exclusive property.
      Parameters:
      value - allowed object is Boolean
    • getRevisionId

      public long getRevisionId()
      Gets the value of the revisionId property.
      Returns:
      possible object is Long
    • setRevisionId

      public void setRevisionId​(java.lang.Long value)
      Sets the value of the revisionId property.
      Parameters:
      value - allowed object is Long
    • getVersion

      public int getVersion()
      Gets the value of the version property.
      Returns:
      possible object is Integer
    • setVersion

      public void setVersion​(java.lang.Integer value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is Integer
    • isKeepChangeHistory

      public boolean isKeepChangeHistory()
      Gets the value of the keepChangeHistory property.
      Returns:
      possible object is Boolean
    • setKeepChangeHistory

      public void setKeepChangeHistory​(java.lang.Boolean value)
      Sets the value of the keepChangeHistory property.
      Parameters:
      value - allowed object is Boolean
    • isProtected

      public boolean isProtected()
      Gets the value of the protected property.
      Returns:
      possible object is Boolean
    • setProtected

      public void setProtected​(java.lang.Boolean value)
      Sets the value of the protected property.
      Parameters:
      value - allowed object is Boolean
    • getPreserveHistory

      public long getPreserveHistory()
      Gets the value of the preserveHistory property.
      Returns:
      possible object is Long
    • setPreserveHistory

      public void setPreserveHistory​(java.lang.Long value)
      Sets the value of the preserveHistory 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.