public class CTComment extends java.lang.Object implements Child
Java class for CT_Comment complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Comment">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="text" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_Rst"/>
<element name="commentPr" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}CT_CommentPr" minOccurs="0"/>
</sequence>
<attribute name="ref" use="required" type="{http://schemas.openxmlformats.org/spreadsheetml/2006/main}ST_Ref" />
<attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
<attribute name="guid" type="{http://schemas.openxmlformats.org/officeDocument/2006/sharedTypes}ST_Guid" />
<attribute name="shapeId" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected long |
authorId |
protected CTCommentPr |
commentPr |
protected java.lang.String |
guid |
protected java.lang.String |
ref |
protected java.lang.Long |
shapeId |
protected CTRst |
text |
| Constructor and Description |
|---|
CTComment() |
| 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.
|
long |
getAuthorId()
Gets the value of the authorId property.
|
CTCommentPr |
getCommentPr()
Gets the value of the commentPr property.
|
java.lang.String |
getGuid()
Gets the value of the guid property.
|
java.lang.Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
java.lang.String |
getRef()
Gets the value of the ref property.
|
java.lang.Long |
getShapeId()
Gets the value of the shapeId property.
|
CTRst |
getText()
Gets the value of the text property.
|
void |
setAuthorId(long value)
Sets the value of the authorId property.
|
void |
setCommentPr(CTCommentPr value)
Sets the value of the commentPr property.
|
void |
setGuid(java.lang.String value)
Sets the value of the guid property.
|
void |
setParent(java.lang.Object parent) |
void |
setRef(java.lang.String value)
Sets the value of the ref property.
|
void |
setShapeId(java.lang.Long value)
Sets the value of the shapeId property.
|
void |
setText(CTRst value)
Sets the value of the text property.
|
protected CTRst text
protected CTCommentPr commentPr
protected java.lang.String ref
protected long authorId
protected java.lang.String guid
protected java.lang.Long shapeId
public CTRst getText()
CTRstpublic void setText(CTRst value)
value - allowed object is
CTRstpublic CTCommentPr getCommentPr()
CTCommentPrpublic void setCommentPr(CTCommentPr value)
value - allowed object is
CTCommentPrpublic java.lang.String getRef()
Stringpublic void setRef(java.lang.String value)
value - allowed object is
Stringpublic long getAuthorId()
public void setAuthorId(long value)
public java.lang.String getGuid()
Stringpublic void setGuid(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Long getShapeId()
Longpublic void setShapeId(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.