com.microsoft.schemas.office.visio.x2012.main.impl.CommentEntryTypeImpl Maven / Gradle / Ivy
Go to download
XmlBeans generated from the Ecma supplied xsds (since POI 5.0.0, the 5th edition is used):
https://www.ecma-international.org/publications/standards/Ecma-376.htm
/*
* XML Type: CommentEntry_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.CommentEntryType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML CommentEntry_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is an atomic type that is a restriction of com.microsoft.schemas.office.visio.x2012.main.CommentEntryType.
*/
public class CommentEntryTypeImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements com.microsoft.schemas.office.visio.x2012.main.CommentEntryType {
private static final long serialVersionUID = 1L;
public CommentEntryTypeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType, true);
}
protected CommentEntryTypeImpl(org.apache.xmlbeans.SchemaType sType, boolean b) {
super(sType, b);
}
private static final javax.xml.namespace.QName AUTHORID$0 =
new javax.xml.namespace.QName("", "AuthorID");
private static final javax.xml.namespace.QName PAGEID$2 =
new javax.xml.namespace.QName("", "PageID");
private static final javax.xml.namespace.QName SHAPEID$4 =
new javax.xml.namespace.QName("", "ShapeID");
private static final javax.xml.namespace.QName DATE$6 =
new javax.xml.namespace.QName("", "Date");
private static final javax.xml.namespace.QName EDITDATE$8 =
new javax.xml.namespace.QName("", "EditDate");
private static final javax.xml.namespace.QName DONE$10 =
new javax.xml.namespace.QName("", "Done");
private static final javax.xml.namespace.QName COMMENTID$12 =
new javax.xml.namespace.QName("", "CommentID");
private static final javax.xml.namespace.QName AUTOCOMMENTTYPE$14 =
new javax.xml.namespace.QName("", "AutoCommentType");
/**
* 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$0);
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$0);
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$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AUTHORID$0);
}
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$0);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(AUTHORID$0);
}
target.set(authorID);
}
}
/**
* Gets the "PageID" attribute
*/
public long getPageID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PAGEID$2);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "PageID" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetPageID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(PAGEID$2);
return target;
}
}
/**
* Sets the "PageID" attribute
*/
public void setPageID(long pageID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PAGEID$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PAGEID$2);
}
target.setLongValue(pageID);
}
}
/**
* Sets (as xml) the "PageID" attribute
*/
public void xsetPageID(org.apache.xmlbeans.XmlUnsignedInt pageID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(PAGEID$2);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(PAGEID$2);
}
target.set(pageID);
}
}
/**
* Gets the "ShapeID" attribute
*/
public long getShapeID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHAPEID$4);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "ShapeID" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetShapeID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(SHAPEID$4);
return target;
}
}
/**
* True if has "ShapeID" attribute
*/
public boolean isSetShapeID() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SHAPEID$4) != null;
}
}
/**
* Sets the "ShapeID" attribute
*/
public void setShapeID(long shapeID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SHAPEID$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SHAPEID$4);
}
target.setLongValue(shapeID);
}
}
/**
* Sets (as xml) the "ShapeID" attribute
*/
public void xsetShapeID(org.apache.xmlbeans.XmlUnsignedInt shapeID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(SHAPEID$4);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(SHAPEID$4);
}
target.set(shapeID);
}
}
/**
* Unsets the "ShapeID" attribute
*/
public void unsetShapeID() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SHAPEID$4);
}
}
/**
* Gets the "Date" attribute
*/
public java.util.Calendar getDate() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DATE$6);
if (target == null) {
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "Date" attribute
*/
public org.apache.xmlbeans.XmlDateTime xgetDate() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(DATE$6);
return target;
}
}
/**
* Sets the "Date" attribute
*/
public void setDate(java.util.Calendar date) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DATE$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DATE$6);
}
target.setCalendarValue(date);
}
}
/**
* Sets (as xml) the "Date" attribute
*/
public void xsetDate(org.apache.xmlbeans.XmlDateTime date) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(DATE$6);
if (target == null) {
target = (org.apache.xmlbeans.XmlDateTime)get_store().add_attribute_user(DATE$6);
}
target.set(date);
}
}
/**
* Gets the "EditDate" attribute
*/
public java.util.Calendar getEditDate() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EDITDATE$8);
if (target == null) {
return null;
}
return target.getCalendarValue();
}
}
/**
* Gets (as xml) the "EditDate" attribute
*/
public org.apache.xmlbeans.XmlDateTime xgetEditDate() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(EDITDATE$8);
return target;
}
}
/**
* True if has "EditDate" attribute
*/
public boolean isSetEditDate() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(EDITDATE$8) != null;
}
}
/**
* Sets the "EditDate" attribute
*/
public void setEditDate(java.util.Calendar editDate) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(EDITDATE$8);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(EDITDATE$8);
}
target.setCalendarValue(editDate);
}
}
/**
* Sets (as xml) the "EditDate" attribute
*/
public void xsetEditDate(org.apache.xmlbeans.XmlDateTime editDate) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlDateTime target = null;
target = (org.apache.xmlbeans.XmlDateTime)get_store().find_attribute_user(EDITDATE$8);
if (target == null) {
target = (org.apache.xmlbeans.XmlDateTime)get_store().add_attribute_user(EDITDATE$8);
}
target.set(editDate);
}
}
/**
* Unsets the "EditDate" attribute
*/
public void unsetEditDate() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(EDITDATE$8);
}
}
/**
* Gets the "Done" attribute
*/
public boolean getDone() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DONE$10);
if (target == null) {
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "Done" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetDone() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(DONE$10);
return target;
}
}
/**
* True if has "Done" attribute
*/
public boolean isSetDone() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DONE$10) != null;
}
}
/**
* Sets the "Done" attribute
*/
public void setDone(boolean done) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DONE$10);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DONE$10);
}
target.setBooleanValue(done);
}
}
/**
* Sets (as xml) the "Done" attribute
*/
public void xsetDone(org.apache.xmlbeans.XmlBoolean done) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(DONE$10);
if (target == null) {
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(DONE$10);
}
target.set(done);
}
}
/**
* Unsets the "Done" attribute
*/
public void unsetDone() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DONE$10);
}
}
/**
* Gets the "CommentID" attribute
*/
public long getCommentID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMMENTID$12);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "CommentID" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetCommentID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(COMMENTID$12);
return target;
}
}
/**
* Sets the "CommentID" attribute
*/
public void setCommentID(long commentID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMMENTID$12);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COMMENTID$12);
}
target.setLongValue(commentID);
}
}
/**
* Sets (as xml) the "CommentID" attribute
*/
public void xsetCommentID(org.apache.xmlbeans.XmlUnsignedInt commentID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(COMMENTID$12);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(COMMENTID$12);
}
target.set(commentID);
}
}
/**
* Gets the "AutoCommentType" attribute
*/
public long getAutoCommentType() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTOCOMMENTTYPE$14);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "AutoCommentType" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetAutoCommentType() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(AUTOCOMMENTTYPE$14);
return target;
}
}
/**
* True if has "AutoCommentType" attribute
*/
public boolean isSetAutoCommentType() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(AUTOCOMMENTTYPE$14) != null;
}
}
/**
* Sets the "AutoCommentType" attribute
*/
public void setAutoCommentType(long autoCommentType) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(AUTOCOMMENTTYPE$14);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(AUTOCOMMENTTYPE$14);
}
target.setLongValue(autoCommentType);
}
}
/**
* Sets (as xml) the "AutoCommentType" attribute
*/
public void xsetAutoCommentType(org.apache.xmlbeans.XmlUnsignedInt autoCommentType) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(AUTOCOMMENTTYPE$14);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(AUTOCOMMENTTYPE$14);
}
target.set(autoCommentType);
}
}
/**
* Unsets the "AutoCommentType" attribute
*/
public void unsetAutoCommentType() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(AUTOCOMMENTTYPE$14);
}
}
}