Class CTRevisionHeaders

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

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

    • guid

      protected String guid
    • lastGuid

      protected String lastGuid
    • shared

      protected Boolean shared
    • diskRevisions

      protected Boolean diskRevisions
    • history

      protected Boolean history
    • trackRevisions

      protected Boolean trackRevisions
    • exclusive

      protected Boolean exclusive
    • revisionId

      protected Long revisionId
    • version

      protected Integer version
    • keepChangeHistory

      protected Boolean keepChangeHistory
    • _protected

      protected Boolean _protected
    • preserveHistory

      protected Long preserveHistory
  • Constructor Details

    • CTRevisionHeaders

      public CTRevisionHeaders()
  • Method Details

    • getHeader

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

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

      public void setLastGuid(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(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(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(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(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(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(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(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(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(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(Long value)
      Sets the value of the preserveHistory 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.