Class CTComment

java.lang.Object
org.pptx4j.pml.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="pos" type="{http://schemas.openxmlformats.org/drawingml/2006/main}CT_Point2D"/>
         <element name="text" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="extLst" type="{http://schemas.openxmlformats.org/presentationml/2006/main}CT_ExtensionListModify" minOccurs="0"/>
       </sequence>
       <attribute name="authorId" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedInt" />
       <attribute name="dt" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="idx" use="required" type="{http://schemas.openxmlformats.org/presentationml/2006/main}ST_Index" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected long authorId  
    protected javax.xml.datatype.XMLGregorianCalendar dt  
    protected CTExtensionListModify extLst  
    protected long idx  
    protected CTPoint2D pos  
    protected java.lang.String text  
  • Constructor Summary

    Constructors 
    Constructor Description
    CTComment()  
  • Method Summary

    Modifier and Type Method 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.
    javax.xml.datatype.XMLGregorianCalendar getDt()
    Gets the value of the dt property.
    CTExtensionListModify getExtLst()
    Gets the value of the extLst property.
    long getIdx()
    Gets the value of the idx property.
    java.lang.Object getParent()
    Gets the parent object in the object tree representing the unmarshalled xml document.
    CTPoint2D getPos()
    Gets the value of the pos property.
    java.lang.String getText()
    Gets the value of the text property.
    void setAuthorId​(long value)
    Sets the value of the authorId property.
    void setDt​(javax.xml.datatype.XMLGregorianCalendar value)
    Sets the value of the dt property.
    void setExtLst​(CTExtensionListModify value)
    Sets the value of the extLst property.
    void setIdx​(long value)
    Sets the value of the idx property.
    void setParent​(java.lang.Object parent)  
    void setPos​(CTPoint2D value)
    Sets the value of the pos property.
    void setText​(java.lang.String 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

  • Constructor Details

  • Method Details

    • getPos

      public CTPoint2D getPos()
      Gets the value of the pos property.
      Returns:
      possible object is CTPoint2D
    • setPos

      public void setPos​(CTPoint2D value)
      Sets the value of the pos property.
      Parameters:
      value - allowed object is CTPoint2D
    • getText

      public java.lang.String getText()
      Gets the value of the text property.
      Returns:
      possible object is String
    • setText

      public void setText​(java.lang.String value)
      Sets the value of the text property.
      Parameters:
      value - allowed object is String
    • getExtLst

      public CTExtensionListModify getExtLst()
      Gets the value of the extLst property.
      Returns:
      possible object is CTExtensionListModify
    • setExtLst

      public void setExtLst​(CTExtensionListModify value)
      Sets the value of the extLst property.
      Parameters:
      value - allowed object is CTExtensionListModify
    • getAuthorId

      public long getAuthorId()
      Gets the value of the authorId property.
    • setAuthorId

      public void setAuthorId​(long value)
      Sets the value of the authorId property.
    • getDt

      public javax.xml.datatype.XMLGregorianCalendar getDt()
      Gets the value of the dt property.
      Returns:
      possible object is XMLGregorianCalendar
    • setDt

      public void setDt​(javax.xml.datatype.XMLGregorianCalendar value)
      Sets the value of the dt property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
    • getIdx

      public long getIdx()
      Gets the value of the idx property.
    • setIdx

      public void setIdx​(long value)
      Sets the value of the idx property.
    • getParent

      public java.lang.Object getParent()
      Gets the parent object in the object tree representing the unmarshalled xml document.
      Specified by:
      getParent in interface Child
      Returns:
      The parent object.
    • setParent

      public void setParent​(java.lang.Object parent)
      Specified by:
      setParent in interface Child
    • afterUnmarshal

      public 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.
      Parameters:
      parent - The parent object in the object tree.
      unmarshaller - The unmarshaller that generated the instance.