Package org.xlsx4j.sml
Class CTComment
java.lang.Object
org.xlsx4j.sml.CTComment
- All Implemented Interfaces:
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>
-
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.longGets the value of the authorId property.Gets the value of the commentPr property.getGuid()Gets the value of the guid property.Gets the parent object in the object tree representing the unmarshalled xml document.getRef()Gets the value of the ref property.Gets the value of the shapeId property.getText()Gets the value of the text property.voidsetAuthorId(long value) Sets the value of the authorId property.voidsetCommentPr(CTCommentPr value) Sets the value of the commentPr property.voidSets the value of the guid property.voidvoidSets the value of the ref property.voidsetShapeId(Long value) Sets the value of the shapeId property.voidSets the value of the text property.
-
Field Details
-
text
-
commentPr
-
ref
-
authorId
protected long authorId -
guid
-
shapeId
-
-
Constructor Details
-
CTComment
public CTComment()
-
-
Method Details
-
getText
Gets the value of the text property.- Returns:
- possible object is
CTRst
-
setText
Sets the value of the text property.- Parameters:
value- allowed object isCTRst
-
getCommentPr
Gets the value of the commentPr property.- Returns:
- possible object is
CTCommentPr
-
setCommentPr
Sets the value of the commentPr property.- Parameters:
value- allowed object isCTCommentPr
-
getRef
Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
Sets the value of the ref property.- Parameters:
value- allowed object isString
-
getAuthorId
public long getAuthorId()Gets the value of the authorId property. -
setAuthorId
public void setAuthorId(long value) Sets the value of the authorId property. -
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
-
getShapeId
Gets the value of the shapeId property.- Returns:
- possible object is
Long
-
setShapeId
Sets the value of the shapeId 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.
-