io.github.isotes.vs.model.impl.FormatVersionDocumentImpl Maven / Gradle / Ivy
/*
* An XML document type.
* Localname: FormatVersion
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.FormatVersionDocument
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* A document containing one FormatVersion(@http://schemas.microsoft.com/developer/msbuild/2003) element.
*
* This is a complex type.
*/
public class FormatVersionDocumentImpl extends io.github.isotes.vs.model.impl.TaskDocumentImpl implements io.github.isotes.vs.model.FormatVersionDocument
{
private static final long serialVersionUID = 1L;
public FormatVersionDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FORMATVERSION$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "FormatVersion");
/**
* Gets the "FormatVersion" element
*/
public io.github.isotes.vs.model.FormatVersionDocument.FormatVersion getFormatVersion()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.FormatVersionDocument.FormatVersion target = null;
target = (io.github.isotes.vs.model.FormatVersionDocument.FormatVersion)get_store().find_element_user(FORMATVERSION$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "FormatVersion" element
*/
public void setFormatVersion(io.github.isotes.vs.model.FormatVersionDocument.FormatVersion formatVersion)
{
generatedSetterHelperImpl(formatVersion, FORMATVERSION$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "FormatVersion" element
*/
public io.github.isotes.vs.model.FormatVersionDocument.FormatVersion addNewFormatVersion()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.FormatVersionDocument.FormatVersion target = null;
target = (io.github.isotes.vs.model.FormatVersionDocument.FormatVersion)get_store().add_element_user(FORMATVERSION$0);
return target;
}
}
/**
* An XML FormatVersion(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public static class FormatVersionImpl extends io.github.isotes.vs.model.impl.TaskTypeImpl implements io.github.isotes.vs.model.FormatVersionDocument.FormatVersion
{
private static final long serialVersionUID = 1L;
public FormatVersionImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName FORMATTYPE$0 =
new javax.xml.namespace.QName("", "FormatType");
private static final javax.xml.namespace.QName OUTPUTVERSION$2 =
new javax.xml.namespace.QName("", "OutputVersion");
private static final javax.xml.namespace.QName REVISION$4 =
new javax.xml.namespace.QName("", "Revision");
private static final javax.xml.namespace.QName VERSION$6 =
new javax.xml.namespace.QName("", "Version");
/**
* Gets the "FormatType" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getFormatType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FORMATTYPE$0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "FormatType" attribute
*/
public boolean isSetFormatType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(FORMATTYPE$0) != null;
}
}
/**
* Sets the "FormatType" attribute
*/
public void setFormatType(org.apache.xmlbeans.XmlAnySimpleType formatType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(FORMATTYPE$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FORMATTYPE$0);
}
target.set(formatType);
}
}
/**
* Appends and returns a new empty "FormatType" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewFormatType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(FORMATTYPE$0);
return target;
}
}
/**
* Unsets the "FormatType" attribute
*/
public void unsetFormatType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(FORMATTYPE$0);
}
}
/**
* Gets the "OutputVersion" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getOutputVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(OUTPUTVERSION$2);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "OutputVersion" attribute
*/
public boolean isSetOutputVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(OUTPUTVERSION$2) != null;
}
}
/**
* Sets the "OutputVersion" attribute
*/
public void setOutputVersion(org.apache.xmlbeans.XmlAnySimpleType outputVersion)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(OUTPUTVERSION$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(OUTPUTVERSION$2);
}
target.set(outputVersion);
}
}
/**
* Appends and returns a new empty "OutputVersion" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewOutputVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(OUTPUTVERSION$2);
return target;
}
}
/**
* Unsets the "OutputVersion" attribute
*/
public void unsetOutputVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(OUTPUTVERSION$2);
}
}
/**
* Gets the "Revision" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getRevision()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(REVISION$4);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Revision" attribute
*/
public boolean isSetRevision()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(REVISION$4) != null;
}
}
/**
* Sets the "Revision" attribute
*/
public void setRevision(org.apache.xmlbeans.XmlAnySimpleType revision)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(REVISION$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(REVISION$4);
}
target.set(revision);
}
}
/**
* Appends and returns a new empty "Revision" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewRevision()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(REVISION$4);
return target;
}
}
/**
* Unsets the "Revision" attribute
*/
public void unsetRevision()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(REVISION$4);
}
}
/**
* Gets the "Version" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType getVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(VERSION$6);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Version" attribute
*/
public boolean isSetVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VERSION$6) != null;
}
}
/**
* Sets the "Version" attribute
*/
public void setVersion(org.apache.xmlbeans.XmlAnySimpleType version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().find_attribute_user(VERSION$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(VERSION$6);
}
target.set(version);
}
}
/**
* Appends and returns a new empty "Version" attribute
*/
public org.apache.xmlbeans.XmlAnySimpleType addNewVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnySimpleType target = null;
target = (org.apache.xmlbeans.XmlAnySimpleType)get_store().add_attribute_user(VERSION$6);
return target;
}
}
/**
* Unsets the "Version" attribute
*/
public void unsetVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VERSION$6);
}
}
}
}