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>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
_protected |
protected Boolean |
diskRevisions |
protected Boolean |
exclusive |
protected String |
guid |
protected List<CTRevisionHeader> |
header |
protected Boolean |
history |
protected Boolean |
keepChangeHistory |
protected String |
lastGuid |
protected Long |
preserveHistory |
protected Long |
revisionId |
protected Boolean |
shared |
protected Boolean |
trackRevisions |
protected Integer |
version |
| Constructor and Description |
|---|
CTRevisionHeaders() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterUnmarshal(Unmarshaller unmarshaller,
Object parent)
This method is invoked by the JAXB implementation on each instance when unmarshalling completes.
|
String |
getGuid()
Gets the value of the guid property.
|
List<CTRevisionHeader> |
getHeader()
Gets the value of the header property.
|
String |
getLastGuid()
Gets the value of the lastGuid property.
|
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(Boolean value)
Sets the value of the diskRevisions property.
|
void |
setExclusive(Boolean value)
Sets the value of the exclusive property.
|
void |
setGuid(String value)
Sets the value of the guid property.
|
void |
setHistory(Boolean value)
Sets the value of the history property.
|
void |
setKeepChangeHistory(Boolean value)
Sets the value of the keepChangeHistory property.
|
void |
setLastGuid(String value)
Sets the value of the lastGuid property.
|
void |
setParent(Object parent) |
void |
setPreserveHistory(Long value)
Sets the value of the preserveHistory property.
|
void |
setProtected(Boolean value)
Sets the value of the protected property.
|
void |
setRevisionId(Long value)
Sets the value of the revisionId property.
|
void |
setShared(Boolean value)
Sets the value of the shared property.
|
void |
setTrackRevisions(Boolean value)
Sets the value of the trackRevisions property.
|
void |
setVersion(Integer value)
Sets the value of the version property.
|
protected List<CTRevisionHeader> header
protected String guid
protected String lastGuid
protected Boolean shared
protected Boolean diskRevisions
protected Boolean history
protected Boolean trackRevisions
protected Boolean exclusive
protected Long revisionId
protected Integer version
protected Boolean keepChangeHistory
protected Boolean _protected
protected Long preserveHistory
public 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 String getGuid()
Stringpublic void setGuid(String value)
value - allowed object is
Stringpublic String getLastGuid()
Stringpublic void setLastGuid(String value)
value - allowed object is
Stringpublic boolean isShared()
Booleanpublic void setShared(Boolean value)
value - allowed object is
Booleanpublic boolean isDiskRevisions()
Booleanpublic void setDiskRevisions(Boolean value)
value - allowed object is
Booleanpublic boolean isHistory()
Booleanpublic void setHistory(Boolean value)
value - allowed object is
Booleanpublic boolean isTrackRevisions()
Booleanpublic void setTrackRevisions(Boolean value)
value - allowed object is
Booleanpublic boolean isExclusive()
Booleanpublic void setExclusive(Boolean value)
value - allowed object is
Booleanpublic long getRevisionId()
Longpublic void setRevisionId(Long value)
value - allowed object is
Longpublic int getVersion()
Integerpublic void setVersion(Integer value)
value - allowed object is
Integerpublic boolean isKeepChangeHistory()
Booleanpublic void setKeepChangeHistory(Boolean value)
value - allowed object is
Booleanpublic boolean isProtected()
Booleanpublic void setProtected(Boolean value)
value - allowed object is
Booleanpublic long getPreserveHistory()
Longpublic void setPreserveHistory(Long value)
value - allowed object is
Longpublic Object getParent()
public void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
parent - The parent object in the object tree.unmarshaller - The unmarshaller that generated the instance.Copyright © 2007-2021. All Rights Reserved.