io.github.isotes.vs.model.impl.UsingTaskTypeImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vs-model Show documentation
Show all versions of vs-model Show documentation
Generated XMLBeans Java classes for the XML schema of MSBuild project files
The newest version!
/*
* XML Type: UsingTaskType
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.UsingTaskType
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* An XML UsingTaskType(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public class UsingTaskTypeImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements io.github.isotes.vs.model.UsingTaskType
{
private static final long serialVersionUID = 1L;
public UsingTaskTypeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PARAMETERGROUP$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "ParameterGroup");
private static final javax.xml.namespace.QName TASK$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Task");
private static final javax.xml.namespace.QName CONDITION$4 =
new javax.xml.namespace.QName("", "Condition");
private static final javax.xml.namespace.QName ASSEMBLYNAME$6 =
new javax.xml.namespace.QName("", "AssemblyName");
private static final javax.xml.namespace.QName ASSEMBLYFILE$8 =
new javax.xml.namespace.QName("", "AssemblyFile");
private static final javax.xml.namespace.QName TASKNAME$10 =
new javax.xml.namespace.QName("", "TaskName");
private static final javax.xml.namespace.QName TASKFACTORY$12 =
new javax.xml.namespace.QName("", "TaskFactory");
private static final javax.xml.namespace.QName ARCHITECTURE$14 =
new javax.xml.namespace.QName("", "Architecture");
private static final javax.xml.namespace.QName RUNTIME$16 =
new javax.xml.namespace.QName("", "Runtime");
/**
* Gets the "ParameterGroup" element
*/
public io.github.isotes.vs.model.ParameterGroupType getParameterGroup()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.ParameterGroupType target = null;
target = (io.github.isotes.vs.model.ParameterGroupType)get_store().find_element_user(PARAMETERGROUP$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "ParameterGroup" element
*/
public boolean isSetParameterGroup()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PARAMETERGROUP$0) != 0;
}
}
/**
* Sets the "ParameterGroup" element
*/
public void setParameterGroup(io.github.isotes.vs.model.ParameterGroupType parameterGroup)
{
generatedSetterHelperImpl(parameterGroup, PARAMETERGROUP$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "ParameterGroup" element
*/
public io.github.isotes.vs.model.ParameterGroupType addNewParameterGroup()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.ParameterGroupType target = null;
target = (io.github.isotes.vs.model.ParameterGroupType)get_store().add_element_user(PARAMETERGROUP$0);
return target;
}
}
/**
* Unsets the "ParameterGroup" element
*/
public void unsetParameterGroup()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PARAMETERGROUP$0, 0);
}
}
/**
* Gets the "Task" element
*/
public io.github.isotes.vs.model.UsingTaskBodyType getTask()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.UsingTaskBodyType target = null;
target = (io.github.isotes.vs.model.UsingTaskBodyType)get_store().find_element_user(TASK$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Task" element
*/
public boolean isSetTask()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(TASK$2) != 0;
}
}
/**
* Sets the "Task" element
*/
public void setTask(io.github.isotes.vs.model.UsingTaskBodyType task)
{
generatedSetterHelperImpl(task, TASK$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Task" element
*/
public io.github.isotes.vs.model.UsingTaskBodyType addNewTask()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.UsingTaskBodyType target = null;
target = (io.github.isotes.vs.model.UsingTaskBodyType)get_store().add_element_user(TASK$2);
return target;
}
}
/**
* Unsets the "Task" element
*/
public void unsetTask()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(TASK$2, 0);
}
}
/**
* Gets the "Condition" attribute
*/
public java.lang.String getCondition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONDITION$4);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Condition" attribute
*/
public org.apache.xmlbeans.XmlString xgetCondition()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONDITION$4);
return target;
}
}
/**
* True if has "Condition" attribute
*/
public boolean isSetCondition()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(CONDITION$4) != null;
}
}
/**
* Sets the "Condition" attribute
*/
public void setCondition(java.lang.String condition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CONDITION$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CONDITION$4);
}
target.setStringValue(condition);
}
}
/**
* Sets (as xml) the "Condition" attribute
*/
public void xsetCondition(org.apache.xmlbeans.XmlString condition)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CONDITION$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CONDITION$4);
}
target.set(condition);
}
}
/**
* Unsets the "Condition" attribute
*/
public void unsetCondition()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(CONDITION$4);
}
}
/**
* Gets the "AssemblyName" attribute
*/
public java.lang.String getAssemblyName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ASSEMBLYNAME$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AssemblyName" attribute
*/
public io.github.isotes.vs.model.NonEmptyString xgetAssemblyName()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(ASSEMBLYNAME$6);
return target;
}
}
/**
* True if has "AssemblyName" attribute
*/
public boolean isSetAssemblyName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ASSEMBLYNAME$6) != null;
}
}
/**
* Sets the "AssemblyName" attribute
*/
public void setAssemblyName(java.lang.String assemblyName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ASSEMBLYNAME$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ASSEMBLYNAME$6);
}
target.setStringValue(assemblyName);
}
}
/**
* Sets (as xml) the "AssemblyName" attribute
*/
public void xsetAssemblyName(io.github.isotes.vs.model.NonEmptyString assemblyName)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(ASSEMBLYNAME$6);
if (target == null)
{
target = (io.github.isotes.vs.model.NonEmptyString)get_store().add_attribute_user(ASSEMBLYNAME$6);
}
target.set(assemblyName);
}
}
/**
* Unsets the "AssemblyName" attribute
*/
public void unsetAssemblyName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ASSEMBLYNAME$6);
}
}
/**
* Gets the "AssemblyFile" attribute
*/
public java.lang.String getAssemblyFile()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ASSEMBLYFILE$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "AssemblyFile" attribute
*/
public io.github.isotes.vs.model.NonEmptyString xgetAssemblyFile()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(ASSEMBLYFILE$8);
return target;
}
}
/**
* True if has "AssemblyFile" attribute
*/
public boolean isSetAssemblyFile()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ASSEMBLYFILE$8) != null;
}
}
/**
* Sets the "AssemblyFile" attribute
*/
public void setAssemblyFile(java.lang.String assemblyFile)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ASSEMBLYFILE$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ASSEMBLYFILE$8);
}
target.setStringValue(assemblyFile);
}
}
/**
* Sets (as xml) the "AssemblyFile" attribute
*/
public void xsetAssemblyFile(io.github.isotes.vs.model.NonEmptyString assemblyFile)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(ASSEMBLYFILE$8);
if (target == null)
{
target = (io.github.isotes.vs.model.NonEmptyString)get_store().add_attribute_user(ASSEMBLYFILE$8);
}
target.set(assemblyFile);
}
}
/**
* Unsets the "AssemblyFile" attribute
*/
public void unsetAssemblyFile()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ASSEMBLYFILE$8);
}
}
/**
* Gets the "TaskName" attribute
*/
public java.lang.String getTaskName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TASKNAME$10);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "TaskName" attribute
*/
public io.github.isotes.vs.model.NonEmptyString xgetTaskName()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(TASKNAME$10);
return target;
}
}
/**
* Sets the "TaskName" attribute
*/
public void setTaskName(java.lang.String taskName)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TASKNAME$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TASKNAME$10);
}
target.setStringValue(taskName);
}
}
/**
* Sets (as xml) the "TaskName" attribute
*/
public void xsetTaskName(io.github.isotes.vs.model.NonEmptyString taskName)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(TASKNAME$10);
if (target == null)
{
target = (io.github.isotes.vs.model.NonEmptyString)get_store().add_attribute_user(TASKNAME$10);
}
target.set(taskName);
}
}
/**
* Gets the "TaskFactory" attribute
*/
public java.lang.String getTaskFactory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TASKFACTORY$12);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "TaskFactory" attribute
*/
public io.github.isotes.vs.model.NonEmptyString xgetTaskFactory()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(TASKFACTORY$12);
return target;
}
}
/**
* True if has "TaskFactory" attribute
*/
public boolean isSetTaskFactory()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TASKFACTORY$12) != null;
}
}
/**
* Sets the "TaskFactory" attribute
*/
public void setTaskFactory(java.lang.String taskFactory)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TASKFACTORY$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TASKFACTORY$12);
}
target.setStringValue(taskFactory);
}
}
/**
* Sets (as xml) the "TaskFactory" attribute
*/
public void xsetTaskFactory(io.github.isotes.vs.model.NonEmptyString taskFactory)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NonEmptyString target = null;
target = (io.github.isotes.vs.model.NonEmptyString)get_store().find_attribute_user(TASKFACTORY$12);
if (target == null)
{
target = (io.github.isotes.vs.model.NonEmptyString)get_store().add_attribute_user(TASKFACTORY$12);
}
target.set(taskFactory);
}
}
/**
* Unsets the "TaskFactory" attribute
*/
public void unsetTaskFactory()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TASKFACTORY$12);
}
}
/**
* Gets the "Architecture" attribute
*/
public java.lang.String getArchitecture()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCHITECTURE$14);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Architecture" attribute
*/
public io.github.isotes.vs.model.Architecture xgetArchitecture()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.Architecture target = null;
target = (io.github.isotes.vs.model.Architecture)get_store().find_attribute_user(ARCHITECTURE$14);
return target;
}
}
/**
* True if has "Architecture" attribute
*/
public boolean isSetArchitecture()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ARCHITECTURE$14) != null;
}
}
/**
* Sets the "Architecture" attribute
*/
public void setArchitecture(java.lang.String architecture)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCHITECTURE$14);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARCHITECTURE$14);
}
target.setStringValue(architecture);
}
}
/**
* Sets (as xml) the "Architecture" attribute
*/
public void xsetArchitecture(io.github.isotes.vs.model.Architecture architecture)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.Architecture target = null;
target = (io.github.isotes.vs.model.Architecture)get_store().find_attribute_user(ARCHITECTURE$14);
if (target == null)
{
target = (io.github.isotes.vs.model.Architecture)get_store().add_attribute_user(ARCHITECTURE$14);
}
target.set(architecture);
}
}
/**
* Unsets the "Architecture" attribute
*/
public void unsetArchitecture()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ARCHITECTURE$14);
}
}
/**
* Gets the "Runtime" attribute
*/
public java.lang.String getRuntime()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RUNTIME$16);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Runtime" attribute
*/
public io.github.isotes.vs.model.Runtime xgetRuntime()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.Runtime target = null;
target = (io.github.isotes.vs.model.Runtime)get_store().find_attribute_user(RUNTIME$16);
return target;
}
}
/**
* True if has "Runtime" attribute
*/
public boolean isSetRuntime()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(RUNTIME$16) != null;
}
}
/**
* Sets the "Runtime" attribute
*/
public void setRuntime(java.lang.String runtime)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RUNTIME$16);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RUNTIME$16);
}
target.setStringValue(runtime);
}
}
/**
* Sets (as xml) the "Runtime" attribute
*/
public void xsetRuntime(io.github.isotes.vs.model.Runtime runtime)
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.Runtime target = null;
target = (io.github.isotes.vs.model.Runtime)get_store().find_attribute_user(RUNTIME$16);
if (target == null)
{
target = (io.github.isotes.vs.model.Runtime)get_store().add_attribute_user(RUNTIME$16);
}
target.set(runtime);
}
}
/**
* Unsets the "Runtime" attribute
*/
public void unsetRuntime()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(RUNTIME$16);
}
}
}