public class CTComment extends 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 String |
guid |
protected String |
ref |
protected Long |
shapeId |
protected CTRst |
text |
Constructor and Description |
---|
CTComment() |
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.
|
long |
getAuthorId()
Gets the value of the authorId property.
|
CTCommentPr |
getCommentPr()
Gets the value of the commentPr property.
|
String |
getGuid()
Gets the value of the guid property.
|
Object |
getParent()
Gets the parent object in the object tree representing the unmarshalled xml document.
|
String |
getRef()
Gets the value of the ref property.
|
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(String value)
Sets the value of the guid property.
|
void |
setParent(Object parent) |
void |
setRef(String value)
Sets the value of the ref property.
|
void |
setShapeId(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 String ref
protected long authorId
protected String guid
protected Long shapeId
public CTRst getText()
CTRst
public void setText(CTRst value)
value
- allowed object is
CTRst
public CTCommentPr getCommentPr()
CTCommentPr
public void setCommentPr(CTCommentPr value)
value
- allowed object is
CTCommentPr
public String getRef()
String
public void setRef(String value)
value
- allowed object is
String
public long getAuthorId()
public void setAuthorId(long value)
public String getGuid()
String
public void setGuid(String value)
value
- allowed object is
String
public Long getShapeId()
Long
public void setShapeId(Long value)
value
- allowed object is
Long
public 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-2019. All Rights Reserved.