com.microsoft.schemas.office.visio.x2012.main.impl.AuthorEntryTypeImpl 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: AuthorEntry_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.AuthorEntryType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML AuthorEntry_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class AuthorEntryTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.AuthorEntryType {
private static final long serialVersionUID = 1L;
public AuthorEntryTypeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName NAME$0 =
new javax.xml.namespace.QName("", "Name");
private static final javax.xml.namespace.QName INITIALS$2 =
new javax.xml.namespace.QName("", "Initials");
private static final javax.xml.namespace.QName RESOLUTIONID$4 =
new javax.xml.namespace.QName("", "ResolutionID");
private static final javax.xml.namespace.QName ID$6 =
new javax.xml.namespace.QName("", "ID");
/**
* Gets the "Name" attribute
*/
public java.lang.String getName() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Name" attribute
*/
public org.apache.xmlbeans.XmlString xgetName() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0);
return target;
}
}
/**
* True if has "Name" attribute
*/
public boolean isSetName() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(NAME$0) != null;
}
}
/**
* Sets the "Name" attribute
*/
public void setName(java.lang.String name) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$0);
}
target.setStringValue(name);
}
}
/**
* Sets (as xml) the "Name" attribute
*/
public void xsetName(org.apache.xmlbeans.XmlString name) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$0);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$0);
}
target.set(name);
}
}
/**
* Unsets the "Name" attribute
*/
public void unsetName() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(NAME$0);
}
}
/**
* Gets the "Initials" attribute
*/
public java.lang.String getInitials() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INITIALS$2);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Initials" attribute
*/
public org.apache.xmlbeans.XmlString xgetInitials() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(INITIALS$2);
return target;
}
}
/**
* True if has "Initials" attribute
*/
public boolean isSetInitials() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(INITIALS$2) != null;
}
}
/**
* Sets the "Initials" attribute
*/
public void setInitials(java.lang.String initials) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(INITIALS$2);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(INITIALS$2);
}
target.setStringValue(initials);
}
}
/**
* Sets (as xml) the "Initials" attribute
*/
public void xsetInitials(org.apache.xmlbeans.XmlString initials) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(INITIALS$2);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(INITIALS$2);
}
target.set(initials);
}
}
/**
* Unsets the "Initials" attribute
*/
public void unsetInitials() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(INITIALS$2);
}
}
/**
* Gets the "ResolutionID" attribute
*/
public java.lang.String getResolutionID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOLUTIONID$4);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ResolutionID" attribute
*/
public org.apache.xmlbeans.XmlString xgetResolutionID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RESOLUTIONID$4);
return target;
}
}
/**
* True if has "ResolutionID" attribute
*/
public boolean isSetResolutionID() {
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(RESOLUTIONID$4) != null;
}
}
/**
* Sets the "ResolutionID" attribute
*/
public void setResolutionID(java.lang.String resolutionID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RESOLUTIONID$4);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RESOLUTIONID$4);
}
target.setStringValue(resolutionID);
}
}
/**
* Sets (as xml) the "ResolutionID" attribute
*/
public void xsetResolutionID(org.apache.xmlbeans.XmlString resolutionID) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RESOLUTIONID$4);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(RESOLUTIONID$4);
}
target.set(resolutionID);
}
}
/**
* Unsets the "ResolutionID" attribute
*/
public void unsetResolutionID() {
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(RESOLUTIONID$4);
}
}
/**
* Gets the "ID" attribute
*/
public long getID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$6);
if (target == null) {
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "ID" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetID() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$6);
return target;
}
}
/**
* Sets the "ID" attribute
*/
public void setID(long id) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ID$6);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$6);
}
target.setLongValue(id);
}
}
/**
* Sets (as xml) the "ID" attribute
*/
public void xsetID(org.apache.xmlbeans.XmlUnsignedInt id) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(ID$6);
if (target == null) {
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$6);
}
target.set(id);
}
}
}