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>
| Modifier and Type | Field and 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 and Description |
|---|
CTRevisionHeaders() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(javax.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.
|
protected java.util.List<CTRevisionHeader> header
protected java.lang.String guid
protected java.lang.String lastGuid
protected java.lang.Boolean shared
protected java.lang.Boolean diskRevisions
protected java.lang.Boolean history
protected java.lang.Boolean trackRevisions
protected java.lang.Boolean exclusive
protected java.lang.Long revisionId
protected java.lang.Integer version
protected java.lang.Boolean keepChangeHistory
protected java.lang.Boolean _protected
protected java.lang.Long preserveHistory
public java.util.List<CTRevisionHeader> getHeader()
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
public java.lang.String getGuid()
Stringpublic void setGuid(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getLastGuid()
Stringpublic void setLastGuid(java.lang.String value)
value - allowed object is
Stringpublic boolean isShared()
Booleanpublic void setShared(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isDiskRevisions()
Booleanpublic void setDiskRevisions(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isHistory()
Booleanpublic void setHistory(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isTrackRevisions()
Booleanpublic void setTrackRevisions(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isExclusive()
Booleanpublic void setExclusive(java.lang.Boolean value)
value - allowed object is
Booleanpublic long getRevisionId()
Longpublic void setRevisionId(java.lang.Long value)
value - allowed object is
Longpublic int getVersion()
Integerpublic void setVersion(java.lang.Integer value)
value - allowed object is
Integerpublic boolean isKeepChangeHistory()
Booleanpublic void setKeepChangeHistory(java.lang.Boolean value)
value - allowed object is
Booleanpublic boolean isProtected()
Booleanpublic void setProtected(java.lang.Boolean value)
value - allowed object is
Booleanpublic long getPreserveHistory()
Longpublic void setPreserveHistory(java.lang.Long value)
value - allowed object is
Longpublic java.lang.Object getParent()
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.lang.Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007–2023. All rights reserved.