Package org.xlsx4j.sml
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_protectedprotected java.lang.BooleandiskRevisionsprotected java.lang.Booleanexclusiveprotected java.lang.Stringguidprotected java.util.List<CTRevisionHeader>headerprotected java.lang.Booleanhistoryprotected java.lang.BooleankeepChangeHistoryprotected java.lang.StringlastGuidprotected java.lang.LongpreserveHistoryprotected java.lang.LongrevisionIdprotected java.lang.Booleansharedprotected java.lang.BooleantrackRevisionsprotected java.lang.Integerversion -
Constructor Summary
Constructors Constructor Description CTRevisionHeaders() -
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.java.lang.StringgetGuid()Gets the value of the guid property.java.util.List<CTRevisionHeader>getHeader()Gets the value of the header property.java.lang.StringgetLastGuid()Gets the value of the lastGuid property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.longgetPreserveHistory()Gets the value of the preserveHistory property.longgetRevisionId()Gets the value of the revisionId property.intgetVersion()Gets the value of the version property.booleanisDiskRevisions()Gets the value of the diskRevisions property.booleanisExclusive()Gets the value of the exclusive property.booleanisHistory()Gets the value of the history property.booleanisKeepChangeHistory()Gets the value of the keepChangeHistory property.booleanisProtected()Gets the value of the protected property.booleanisShared()Gets the value of the shared property.booleanisTrackRevisions()Gets the value of the trackRevisions property.voidsetDiskRevisions(java.lang.Boolean value)Sets the value of the diskRevisions property.voidsetExclusive(java.lang.Boolean value)Sets the value of the exclusive property.voidsetGuid(java.lang.String value)Sets the value of the guid property.voidsetHistory(java.lang.Boolean value)Sets the value of the history property.voidsetKeepChangeHistory(java.lang.Boolean value)Sets the value of the keepChangeHistory property.voidsetLastGuid(java.lang.String value)Sets the value of the lastGuid property.voidsetParent(java.lang.Object parent)voidsetPreserveHistory(java.lang.Long value)Sets the value of the preserveHistory property.voidsetProtected(java.lang.Boolean value)Sets the value of the protected property.voidsetRevisionId(java.lang.Long value)Sets the value of the revisionId property.voidsetShared(java.lang.Boolean value)Sets the value of the shared property.voidsetTrackRevisions(java.lang.Boolean value)Sets the value of the trackRevisions property.voidsetVersion(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
-
header
-
guid
protected java.lang.String guid -
lastGuid
protected java.lang.String lastGuid -
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
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
setmethod 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 isString
-
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 isString
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isBoolean
-
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 isLong
-
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 isInteger
-
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 isBoolean
-
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 isBoolean
-
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 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.
-