com.microsoft.schemas.office.visio.x2012.main.impl.AutoLinkComparisonTypeImpl 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
/*
* XML Type: AutoLinkComparison_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.AutoLinkComparisonType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML AutoLinkComparison_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class AutoLinkComparisonTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.AutoLinkComparisonType
{
public AutoLinkComparisonTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName COLUMNNAME$0 =
new javax.xml.namespace.QName("", "ColumnName");
private static final javax.xml.namespace.QName CONTEXTTYPE$2 =
new javax.xml.namespace.QName("", "ContextType");
private static final javax.xml.namespace.QName CONTEXTTYPELABEL$4 =
new javax.xml.namespace.QName("", "ContextTypeLabel");
/**
* Gets the "ColumnName" attribute
*/
public java.lang.String getColumnName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLUMNNAME$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ColumnName" attribute
*/
public org.apache.xmlbeans.XmlString xgetColumnName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COLUMNNAME$0);
return target;
}
}
/**
* Sets the "ColumnName" attribute
*/
public void setColumnName(java.lang.String columnName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(COLUMNNAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(COLUMNNAME$0);
}
target.setStringValue(columnName);
}
}
/**
* Sets (as xml) the "ColumnName" attribute
*/
public void xsetColumnName(org.apache.xmlbeans.XmlString columnName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(COLUMNNAME$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(COLUMNNAME$0);
}
target.set(columnName);
}
}
/**
* Gets the "ContextType" attribute
*/
public long getContextType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPE$2);
if (target == null)
{
return 0L;
}
return target.getLongValue();
}
}
/**
* Gets (as xml) the "ContextType" attribute
*/
public org.apache.xmlbeans.XmlUnsignedInt xgetContextType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(CONTEXTTYPE$2);
return target;
}
}
/**
* Sets the "ContextType" attribute
*/
public void setContextType(long contextType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTEXTTYPE$2);
}
target.setLongValue(contextType);
}
}
/**
* Sets (as xml) the "ContextType" attribute
*/
public void xsetContextType(org.apache.xmlbeans.XmlUnsignedInt contextType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlUnsignedInt target = null;
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().find_attribute_user(CONTEXTTYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlUnsignedInt)get_store().add_attribute_user(CONTEXTTYPE$2);
}
target.set(contextType);
}
}
/**
* Gets the "ContextTypeLabel" attribute
*/
public java.lang.String getContextTypeLabel()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "ContextTypeLabel" attribute
*/
public org.apache.xmlbeans.XmlString xgetContextTypeLabel()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
return target;
}
}
/**
* True if has "ContextTypeLabel" attribute
*/
public boolean isSetContextTypeLabel()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CONTEXTTYPELABEL$4) != null;
}
}
/**
* Sets the "ContextTypeLabel" attribute
*/
public void setContextTypeLabel(java.lang.String contextTypeLabel)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONTEXTTYPELABEL$4);
}
target.setStringValue(contextTypeLabel);
}
}
/**
* Sets (as xml) the "ContextTypeLabel" attribute
*/
public void xsetContextTypeLabel(org.apache.xmlbeans.XmlString contextTypeLabel)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONTEXTTYPELABEL$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CONTEXTTYPELABEL$4);
}
target.set(contextTypeLabel);
}
}
/**
* Unsets the "ContextTypeLabel" attribute
*/
public void unsetContextTypeLabel()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CONTEXTTYPELABEL$4);
}
}
}