io.github.isotes.vs.model.impl.BscmakeDocumentImpl 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!
/*
* An XML document type.
* Localname: Bscmake
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.BscmakeDocument
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* A document containing one Bscmake(@http://schemas.microsoft.com/developer/msbuild/2003) element.
*
* This is a complex type.
*/
public class BscmakeDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.BscmakeDocument
{
private static final long serialVersionUID = 1L;
public BscmakeDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName BSCMAKE$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Bscmake");
/**
* Gets the "Bscmake" element
*/
public io.github.isotes.vs.model.BscmakeDocument.Bscmake getBscmake()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.BscmakeDocument.Bscmake target = null;
target = (io.github.isotes.vs.model.BscmakeDocument.Bscmake)get_store().find_element_user(BSCMAKE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "Bscmake" element
*/
public void setBscmake(io.github.isotes.vs.model.BscmakeDocument.Bscmake bscmake)
{
generatedSetterHelperImpl(bscmake, BSCMAKE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Bscmake" element
*/
public io.github.isotes.vs.model.BscmakeDocument.Bscmake addNewBscmake()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.BscmakeDocument.Bscmake target = null;
target = (io.github.isotes.vs.model.BscmakeDocument.Bscmake)get_store().add_element_user(BSCMAKE$0);
return target;
}
}
/**
* An XML Bscmake(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public static class BscmakeImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.BscmakeDocument.Bscmake
{
private static final long serialVersionUID = 1L;
public BscmakeImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName PRESERVESBR$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "PreserveSBR");
private static final javax.xml.namespace.QName ADDITIONALOPTIONS$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "AdditionalOptions");
private static final javax.xml.namespace.QName SUPPRESSSTARTUPBANNER$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "SuppressStartupBanner");
private static final javax.xml.namespace.QName OUTPUTFILE$6 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "OutputFile");
/**
* Gets a List of "PreserveSBR" elements
*/
public java.util.List getPreserveSBRList()
{
final class PreserveSBRList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return BscmakeImpl.this.getPreserveSBRArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getPreserveSBRArray(i);
BscmakeImpl.this.setPreserveSBRArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ BscmakeImpl.this.insertNewPreserveSBR(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getPreserveSBRArray(i);
BscmakeImpl.this.removePreserveSBR(i);
return old;
}
@Override
public int size()
{ return BscmakeImpl.this.sizeOfPreserveSBRArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PreserveSBRList();
}
}
/**
* Gets array of all "PreserveSBR" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getPreserveSBRArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(PRESERVESBR$0, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "PreserveSBR" element
*/
public org.apache.xmlbeans.XmlObject getPreserveSBRArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(PRESERVESBR$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "PreserveSBR" element
*/
public int sizeOfPreserveSBRArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PRESERVESBR$0);
}
}
/**
* Sets array of all "PreserveSBR" element WARNING: This method is not atomicaly synchronized.
*/
public void setPreserveSBRArray(org.apache.xmlbeans.XmlObject[] preserveSBRArray)
{
check_orphaned();
arraySetterHelper(preserveSBRArray, PRESERVESBR$0);
}
/**
* Sets ith "PreserveSBR" element
*/
public void setPreserveSBRArray(int i, org.apache.xmlbeans.XmlObject preserveSBR)
{
generatedSetterHelperImpl(preserveSBR, PRESERVESBR$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "PreserveSBR" element
*/
public org.apache.xmlbeans.XmlObject insertNewPreserveSBR(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(PRESERVESBR$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "PreserveSBR" element
*/
public org.apache.xmlbeans.XmlObject addNewPreserveSBR()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(PRESERVESBR$0);
return target;
}
}
/**
* Removes the ith "PreserveSBR" element
*/
public void removePreserveSBR(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PRESERVESBR$0, i);
}
}
/**
* Gets a List of "AdditionalOptions" elements
*/
public java.util.List getAdditionalOptionsList()
{
final class AdditionalOptionsList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return BscmakeImpl.this.getAdditionalOptionsArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getAdditionalOptionsArray(i);
BscmakeImpl.this.setAdditionalOptionsArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ BscmakeImpl.this.insertNewAdditionalOptions(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getAdditionalOptionsArray(i);
BscmakeImpl.this.removeAdditionalOptions(i);
return old;
}
@Override
public int size()
{ return BscmakeImpl.this.sizeOfAdditionalOptionsArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new AdditionalOptionsList();
}
}
/**
* Gets array of all "AdditionalOptions" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getAdditionalOptionsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(ADDITIONALOPTIONS$2, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "AdditionalOptions" element
*/
public org.apache.xmlbeans.XmlObject getAdditionalOptionsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(ADDITIONALOPTIONS$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "AdditionalOptions" element
*/
public int sizeOfAdditionalOptionsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(ADDITIONALOPTIONS$2);
}
}
/**
* Sets array of all "AdditionalOptions" element WARNING: This method is not atomicaly synchronized.
*/
public void setAdditionalOptionsArray(org.apache.xmlbeans.XmlObject[] additionalOptionsArray)
{
check_orphaned();
arraySetterHelper(additionalOptionsArray, ADDITIONALOPTIONS$2);
}
/**
* Sets ith "AdditionalOptions" element
*/
public void setAdditionalOptionsArray(int i, org.apache.xmlbeans.XmlObject additionalOptions)
{
generatedSetterHelperImpl(additionalOptions, ADDITIONALOPTIONS$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "AdditionalOptions" element
*/
public org.apache.xmlbeans.XmlObject insertNewAdditionalOptions(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(ADDITIONALOPTIONS$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "AdditionalOptions" element
*/
public org.apache.xmlbeans.XmlObject addNewAdditionalOptions()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(ADDITIONALOPTIONS$2);
return target;
}
}
/**
* Removes the ith "AdditionalOptions" element
*/
public void removeAdditionalOptions(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(ADDITIONALOPTIONS$2, i);
}
}
/**
* Gets a List of "SuppressStartupBanner" elements
*/
public java.util.List getSuppressStartupBannerList()
{
final class SuppressStartupBannerList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return BscmakeImpl.this.getSuppressStartupBannerArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getSuppressStartupBannerArray(i);
BscmakeImpl.this.setSuppressStartupBannerArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ BscmakeImpl.this.insertNewSuppressStartupBanner(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getSuppressStartupBannerArray(i);
BscmakeImpl.this.removeSuppressStartupBanner(i);
return old;
}
@Override
public int size()
{ return BscmakeImpl.this.sizeOfSuppressStartupBannerArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new SuppressStartupBannerList();
}
}
/**
* Gets array of all "SuppressStartupBanner" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getSuppressStartupBannerArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(SUPPRESSSTARTUPBANNER$4, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "SuppressStartupBanner" element
*/
public org.apache.xmlbeans.XmlObject getSuppressStartupBannerArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(SUPPRESSSTARTUPBANNER$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "SuppressStartupBanner" element
*/
public int sizeOfSuppressStartupBannerArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(SUPPRESSSTARTUPBANNER$4);
}
}
/**
* Sets array of all "SuppressStartupBanner" element WARNING: This method is not atomicaly synchronized.
*/
public void setSuppressStartupBannerArray(org.apache.xmlbeans.XmlObject[] suppressStartupBannerArray)
{
check_orphaned();
arraySetterHelper(suppressStartupBannerArray, SUPPRESSSTARTUPBANNER$4);
}
/**
* Sets ith "SuppressStartupBanner" element
*/
public void setSuppressStartupBannerArray(int i, org.apache.xmlbeans.XmlObject suppressStartupBanner)
{
generatedSetterHelperImpl(suppressStartupBanner, SUPPRESSSTARTUPBANNER$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "SuppressStartupBanner" element
*/
public org.apache.xmlbeans.XmlObject insertNewSuppressStartupBanner(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(SUPPRESSSTARTUPBANNER$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "SuppressStartupBanner" element
*/
public org.apache.xmlbeans.XmlObject addNewSuppressStartupBanner()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(SUPPRESSSTARTUPBANNER$4);
return target;
}
}
/**
* Removes the ith "SuppressStartupBanner" element
*/
public void removeSuppressStartupBanner(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(SUPPRESSSTARTUPBANNER$4, i);
}
}
/**
* Gets a List of "OutputFile" elements
*/
public java.util.List getOutputFileList()
{
final class OutputFileList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return BscmakeImpl.this.getOutputFileArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getOutputFileArray(i);
BscmakeImpl.this.setOutputFileArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ BscmakeImpl.this.insertNewOutputFile(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = BscmakeImpl.this.getOutputFileArray(i);
BscmakeImpl.this.removeOutputFile(i);
return old;
}
@Override
public int size()
{ return BscmakeImpl.this.sizeOfOutputFileArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new OutputFileList();
}
}
/**
* Gets array of all "OutputFile" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getOutputFileArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(OUTPUTFILE$6, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "OutputFile" element
*/
public org.apache.xmlbeans.XmlObject getOutputFileArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(OUTPUTFILE$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "OutputFile" element
*/
public int sizeOfOutputFileArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(OUTPUTFILE$6);
}
}
/**
* Sets array of all "OutputFile" element WARNING: This method is not atomicaly synchronized.
*/
public void setOutputFileArray(org.apache.xmlbeans.XmlObject[] outputFileArray)
{
check_orphaned();
arraySetterHelper(outputFileArray, OUTPUTFILE$6);
}
/**
* Sets ith "OutputFile" element
*/
public void setOutputFileArray(int i, org.apache.xmlbeans.XmlObject outputFile)
{
generatedSetterHelperImpl(outputFile, OUTPUTFILE$6, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "OutputFile" element
*/
public org.apache.xmlbeans.XmlObject insertNewOutputFile(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(OUTPUTFILE$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "OutputFile" element
*/
public org.apache.xmlbeans.XmlObject addNewOutputFile()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(OUTPUTFILE$6);
return target;
}
}
/**
* Removes the ith "OutputFile" element
*/
public void removeOutputFile(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(OUTPUTFILE$6, i);
}
}
}
}