org.openxmlformats.schemas.presentationml.x2006.main.impl.CTCommentImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds:
http://www.ecma-international.org/publications/files/ECMA-ST/Office%20Open%20XML%20Part%204%20(DOCX).zip
The newest version!
/*
* XML Type: CT_Comment
* Namespace: http://schemas.openxmlformats.org/presentationml/2006/main
* Java type: org.openxmlformats.schemas.presentationml.x2006.main.CTComment
*
* Automatically generated - do not modify.
*/
package org.openxmlformats.schemas.presentationml.x2006.main.impl;
/**
* An XML CT_Comment(@http://schemas.openxmlformats.org/presentationml/2006/main).
*
* This is a complex type.
*/
public class CTCommentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openxmlformats.schemas.presentationml.x2006.main.CTComment
{
private static final long serialVersionUID = 1L;
public CTCommentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName POS$0 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "pos");
private static final javax.xml.namespace.QName TEXT$2 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "text");
private static final javax.xml.namespace.QName EXTLST$4 =
new javax.xml.namespace.QName("http://schemas.openxmlformats.org/presentationml/2006/main", "extLst");
private static final javax.xml.namespace.QName AUTHORID$6 =
new javax.xml.namespace.QName("", "authorId");
private static final javax.xml.namespace.QName DT$8 =
new javax.xml.namespace.QName("", "dt");
private static final javax.xml.namespace.QName IDX$10 =
new javax.xml.namespace.QName("", "idx");
/**
* Gets the "pos" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D getPos()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D)get_store().find_element_user(POS$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "pos" element
*/
public void setPos(org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D pos)
{
generatedSetterHelperImpl(pos, POS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "pos" element
*/
public org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D addNewPos()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D target = null;
target = (org.openxmlformats.schemas.drawingml.x2006.main.CTPoint2D)get_store().add_element_user(POS$0);
return target;
}
}
/**
* Gets the "text" element
*/
public java.lang.String getText()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEXT$2, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "text" element
*/
public org.apache.xmlbeans.XmlString xgetText()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TEXT$2, 0);
return target;
}
}
/**
* Sets the "text" element
*/
public void setText(java.lang.String text)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEXT$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TEXT$2);
}
target.setStringValue(text);
}
}
/**
* Sets (as xml) the "text" element
*/
public void xsetText(org.apache.xmlbeans.XmlString text)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TEXT$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TEXT$2);
}
target.set(text);
}
}
/**
* Gets the "extLst" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify getExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().find_element_user(EXTLST$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "extLst" element
*/
public boolean isSetExtLst()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXTLST$4) != 0;
}
}
/**
* Sets the "extLst" element
*/
public void setExtLst(org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify extLst)
{
generatedSetterHelperImpl(extLst, EXTLST$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "extLst" element
*/
public org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify addNewExtLst()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.CTExtensionListModify)get_store().add_element_user(EXTLST$4);
return target;
}
}
/**
* Unsets the "extLst" element
*/
public void unsetExtLst()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXTLST$4, 0);
}
}
/**
* Gets the "authorId" attribute
*/
public long getAuthorId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTHORID$6);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "authorId" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetAuthorId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(AUTHORID$6);
return target;
}
}
/**
* Sets the "authorId" attribute
*/
public void setAuthorId(long authorId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTHORID$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AUTHORID$6);
}
target.setLongValue(authorId);
}
}
/**
* Sets (as xml) the "authorId" attribute
*/
public void xsetAuthorId(org.apache.xmlbeans.XmlUnsignedInt authorId)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(AUTHORID$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(AUTHORID$6);
}
target.set(authorId);
}
}
/**
* Gets the "dt" attribute
*/
public java.util.Calendar getDt()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DT$8);
if (target == null)
{
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "dt" attribute
*/
public org.apache.xmlbeans.XmlDateTime xgetDt()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(DT$8);
return target;
}
}
/**
* True if has "dt" attribute
*/
public boolean isSetDt()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DT$8) != null;
}
}
/**
* Sets the "dt" attribute
*/
public void setDt(java.util.Calendar dt)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DT$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DT$8);
}
target.setCalendarValue(dt);
}
}
/**
* Sets (as xml) the "dt" attribute
*/
public void xsetDt(org.apache.xmlbeans.XmlDateTime dt)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(DT$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlDateTime)get_store().add_attribute_user(DT$8);
}
target.set(dt);
}
}
/**
* Unsets the "dt" attribute
*/
public void unsetDt()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DT$8);
}
}
/**
* Gets the "idx" attribute
*/
public long getIdx()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IDX$10);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "idx" attribute
*/
public org.openxmlformats.schemas.presentationml.x2006.main.STIndex xgetIdx()
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.STIndex target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.STIndex)get_store().find_attribute_user(IDX$10);
return target;
}
}
/**
* Sets the "idx" attribute
*/
public void setIdx(long idx)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(IDX$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(IDX$10);
}
target.setLongValue(idx);
}
}
/**
* Sets (as xml) the "idx" attribute
*/
public void xsetIdx(org.openxmlformats.schemas.presentationml.x2006.main.STIndex idx)
{
synchronized (monitor())
{
check_orphaned();
org.openxmlformats.schemas.presentationml.x2006.main.STIndex target = null;
target = (org.openxmlformats.schemas.presentationml.x2006.main.STIndex)get_store().find_attribute_user(IDX$10);
if (target == null)
{
target = (org.openxmlformats.schemas.presentationml.x2006.main.STIndex)get_store().add_attribute_user(IDX$10);
}
target.set(idx);
}
}
}