Package org.xlsx4j.sml
Class CTComment
java.lang.Object
org.xlsx4j.sml.CTComment
- All Implemented Interfaces:
Child
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>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CTComment() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.longgetAuthorId()Gets the value of the authorId property.CTCommentPrgetCommentPr()Gets the value of the commentPr property.java.lang.StringgetGuid()Gets the value of the guid property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetRef()Gets the value of the ref property.java.lang.LonggetShapeId()Gets the value of the shapeId property.CTRstgetText()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.voidsetGuid(java.lang.String value)Sets the value of the guid property.voidsetParent(java.lang.Object parent)voidsetRef(java.lang.String value)Sets the value of the ref property.voidsetShapeId(java.lang.Long value)Sets the value of the shapeId property.voidsetText(CTRst value)Sets the value of the text property.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
text
-
commentPr
-
ref
protected java.lang.String ref -
authorId
protected long authorId -
guid
protected java.lang.String guid -
shapeId
protected java.lang.Long 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
public java.lang.String getRef()Gets the value of the ref property.- Returns:
- possible object is
String
-
setRef
public void setRef(java.lang.String value)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
public java.lang.String getGuid()Gets the value of the guid property.- Returns:
- possible object is
String
-
setGuid
public void setGuid(java.lang.String value)Sets the value of the guid property.- Parameters:
value- allowed object isString
-
getShapeId
public java.lang.Long getShapeId()Gets the value of the shapeId property.- Returns:
- possible object is
Long
-
setShapeId
public void setShapeId(java.lang.Long value)Sets the value of the shapeId property.- Parameters:
value- allowed object isLong
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(jakarta.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)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.
-