com.microsoft.schemas.office.visio.x2012.main.impl.DataConnectionTypeImpl 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: DataConnection_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.DataConnectionType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML DataConnection_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class DataConnectionTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.DataConnectionType
{
private static final long serialVersionUID = 1L;
public DataConnectionTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ID$0 =
new javax.xml.namespace.QName("", "ID");
private static final javax.xml.namespace.QName FILENAME$2 =
new javax.xml.namespace.QName("", "FileName");
private static final javax.xml.namespace.QName CONNECTIONSTRING$4 =
new javax.xml.namespace.QName("", "ConnectionString");
private static final javax.xml.namespace.QName COMMAND$6 =
new javax.xml.namespace.QName("", "Command");
private static final javax.xml.namespace.QName FRIENDLYNAME$8 =
new javax.xml.namespace.QName("", "FriendlyName");
private static final javax.xml.namespace.QName TIMEOUT$10 =
new javax.xml.namespace.QName("", "Timeout");
private static final javax.xml.namespace.QName ALWAYSUSECONNECTIONFILE$12 =
new javax.xml.namespace.QName("", "AlwaysUseConnectionFile");
/**
* 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$0);
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$0);
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$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ID$0);
}
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$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(ID$0);
}
target.set(id);
}
}
/**
* Gets the "FileName" attribute
*/
public java.lang.String getFileName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FILENAME$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "FileName" attribute
*/
public org.apache.xmlbeans.XmlString xgetFileName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FILENAME$2);
return target;
}
}
/**
* Sets the "FileName" attribute
*/
public void setFileName(java.lang.String fileName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FILENAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FILENAME$2);
}
target.setStringValue(fileName);
}
}
/**
* Sets (as xml) the "FileName" attribute
*/
public void xsetFileName(org.apache.xmlbeans.XmlString fileName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FILENAME$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(FILENAME$2);
}
target.set(fileName);
}
}
/**
* Gets the "ConnectionString" attribute
*/
public java.lang.String getConnectionString()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONNECTIONSTRING$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ConnectionString" attribute
*/
public org.apache.xmlbeans.XmlString xgetConnectionString()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONNECTIONSTRING$4);
return target;
}
}
/**
* True if has "ConnectionString" attribute
*/
public boolean isSetConnectionString()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CONNECTIONSTRING$4) != null;
}
}
/**
* Sets the "ConnectionString" attribute
*/
public void setConnectionString(java.lang.String connectionString)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONNECTIONSTRING$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONNECTIONSTRING$4);
}
target.setStringValue(connectionString);
}
}
/**
* Sets (as xml) the "ConnectionString" attribute
*/
public void xsetConnectionString(org.apache.xmlbeans.XmlString connectionString)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONNECTIONSTRING$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CONNECTIONSTRING$4);
}
target.set(connectionString);
}
}
/**
* Unsets the "ConnectionString" attribute
*/
public void unsetConnectionString()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CONNECTIONSTRING$4);
}
}
/**
* Gets the "Command" attribute
*/
public java.lang.String getCommand()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMMAND$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Command" attribute
*/
public org.apache.xmlbeans.XmlString xgetCommand()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COMMAND$6);
return target;
}
}
/**
* True if has "Command" attribute
*/
public boolean isSetCommand()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(COMMAND$6) != null;
}
}
/**
* Sets the "Command" attribute
*/
public void setCommand(java.lang.String command)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COMMAND$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COMMAND$6);
}
target.setStringValue(command);
}
}
/**
* Sets (as xml) the "Command" attribute
*/
public void xsetCommand(org.apache.xmlbeans.XmlString command)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COMMAND$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(COMMAND$6);
}
target.set(command);
}
}
/**
* Unsets the "Command" attribute
*/
public void unsetCommand()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(COMMAND$6);
}
}
/**
* Gets the "FriendlyName" attribute
*/
public java.lang.String getFriendlyName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FRIENDLYNAME$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "FriendlyName" attribute
*/
public org.apache.xmlbeans.XmlString xgetFriendlyName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FRIENDLYNAME$8);
return target;
}
}
/**
* True if has "FriendlyName" attribute
*/
public boolean isSetFriendlyName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(FRIENDLYNAME$8) != null;
}
}
/**
* Sets the "FriendlyName" attribute
*/
public void setFriendlyName(java.lang.String friendlyName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FRIENDLYNAME$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FRIENDLYNAME$8);
}
target.setStringValue(friendlyName);
}
}
/**
* Sets (as xml) the "FriendlyName" attribute
*/
public void xsetFriendlyName(org.apache.xmlbeans.XmlString friendlyName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(FRIENDLYNAME$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(FRIENDLYNAME$8);
}
target.set(friendlyName);
}
}
/**
* Unsets the "FriendlyName" attribute
*/
public void unsetFriendlyName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(FRIENDLYNAME$8);
}
}
/**
* Gets the "Timeout" attribute
*/
public long getTimeout()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TIMEOUT$10);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "Timeout" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetTimeout()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(TIMEOUT$10);
return target;
}
}
/**
* True if has "Timeout" attribute
*/
public boolean isSetTimeout()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TIMEOUT$10) != null;
}
}
/**
* Sets the "Timeout" attribute
*/
public void setTimeout(long timeout)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TIMEOUT$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TIMEOUT$10);
}
target.setLongValue(timeout);
}
}
/**
* Sets (as xml) the "Timeout" attribute
*/
public void xsetTimeout(org.apache.xmlbeans.XmlUnsignedInt timeout)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(TIMEOUT$10);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(TIMEOUT$10);
}
target.set(timeout);
}
}
/**
* Unsets the "Timeout" attribute
*/
public void unsetTimeout()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TIMEOUT$10);
}
}
/**
* Gets the "AlwaysUseConnectionFile" attribute
*/
public boolean getAlwaysUseConnectionFile()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ALWAYSUSECONNECTIONFILE$12);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "AlwaysUseConnectionFile" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetAlwaysUseConnectionFile()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ALWAYSUSECONNECTIONFILE$12);
return target;
}
}
/**
* True if has "AlwaysUseConnectionFile" attribute
*/
public boolean isSetAlwaysUseConnectionFile()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ALWAYSUSECONNECTIONFILE$12) != null;
}
}
/**
* Sets the "AlwaysUseConnectionFile" attribute
*/
public void setAlwaysUseConnectionFile(boolean alwaysUseConnectionFile)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ALWAYSUSECONNECTIONFILE$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ALWAYSUSECONNECTIONFILE$12);
}
target.setBooleanValue(alwaysUseConnectionFile);
}
}
/**
* Sets (as xml) the "AlwaysUseConnectionFile" attribute
*/
public void xsetAlwaysUseConnectionFile(org.apache.xmlbeans.XmlBoolean alwaysUseConnectionFile)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ALWAYSUSECONNECTIONFILE$12);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ALWAYSUSECONNECTIONFILE$12);
}
target.set(alwaysUseConnectionFile);
}
}
/**
* Unsets the "AlwaysUseConnectionFile" attribute
*/
public void unsetAlwaysUseConnectionFile()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ALWAYSUSECONNECTIONFILE$12);
}
}
}