com.microsoft.schemas.office.visio.x2012.main.impl.FunctionDefTypeImpl Maven / Gradle / Ivy
/*
* XML Type: FunctionDef_Type
* Namespace: http://schemas.microsoft.com/office/visio/2012/main
* Java type: com.microsoft.schemas.office.visio.x2012.main.FunctionDefType
*
* Automatically generated - do not modify.
*/
package com.microsoft.schemas.office.visio.x2012.main.impl;
/**
* An XML FunctionDef_Type(@http://schemas.microsoft.com/office/visio/2012/main).
*
* This is a complex type.
*/
public class FunctionDefTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.microsoft.schemas.office.visio.x2012.main.FunctionDefType {
private static final long serialVersionUID = 1L;
public FunctionDefTypeImpl(org.apache.xmlbeans.SchemaType sType) {
super(sType);
}
private static final javax.xml.namespace.QName N$0 =
new javax.xml.namespace.QName("", "N");
/**
* Gets the "N" attribute
*/
public java.lang.String getN() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(N$0);
if (target == null) {
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "N" attribute
*/
public org.apache.xmlbeans.XmlString xgetN() {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(N$0);
return target;
}
}
/**
* Sets the "N" attribute
*/
public void setN(java.lang.String n) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(N$0);
if (target == null) {
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(N$0);
}
target.setStringValue(n);
}
}
/**
* Sets (as xml) the "N" attribute
*/
public void xsetN(org.apache.xmlbeans.XmlString n) {
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(N$0);
if (target == null) {
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(N$0);
}
target.set(n);
}
}
}