Package org.xlsx4j.sml
Class CTRevisionHeaders
java.lang.Object
org.xlsx4j.sml.CTRevisionHeaders
- All Implemented Interfaces:
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, Object parent) This method is invoked by the JAXB implementation on each instance when unmarshalling completes.getGuid()Gets the value of the guid property.Gets the value of the header property.Gets the value of the lastGuid property.Gets the parent object in the object tree representing the unmarshalled xml document.longGets the value of the preserveHistory property.longGets the value of the revisionId property.intGets the value of the version property.booleanGets the value of the diskRevisions property.booleanGets the value of the exclusive property.booleanGets the value of the history property.booleanGets the value of the keepChangeHistory property.booleanGets the value of the protected property.booleanisShared()Gets the value of the shared property.booleanGets the value of the trackRevisions property.voidsetDiskRevisions(Boolean value) Sets the value of the diskRevisions property.voidsetExclusive(Boolean value) Sets the value of the exclusive property.voidSets the value of the guid property.voidsetHistory(Boolean value) Sets the value of the history property.voidsetKeepChangeHistory(Boolean value) Sets the value of the keepChangeHistory property.voidsetLastGuid(String value) Sets the value of the lastGuid property.voidvoidsetPreserveHistory(Long value) Sets the value of the preserveHistory property.voidsetProtected(Boolean value) Sets the value of the protected property.voidsetRevisionId(Long value) Sets the value of the revisionId property.voidSets the value of the shared property.voidsetTrackRevisions(Boolean value) Sets the value of the trackRevisions property.voidsetVersion(Integer value) Sets the value of the version property.
-
Field Details
-
header
-
guid
-
lastGuid
-
diskRevisions
-
history
-
trackRevisions
-
exclusive
-
revisionId
-
version
-
keepChangeHistory
-
_protected
-
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
Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
Sets the value of the guid property.- Parameters:
value- allowed object isString
-
getLastGuid
Gets the value of the lastGuid property.- Returns:
- possible object is
String
-
setLastGuid
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
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
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
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
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
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
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
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
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
Sets the value of the preserveHistory property.- Parameters:
value- allowed object isLong
-
getParent
Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
-
afterUnmarshal
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.
-