io.github.isotes.vs.model.impl.NoneDocumentImpl 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: None
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.NoneDocument
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* A document containing one None(@http://schemas.microsoft.com/developer/msbuild/2003) element.
*
* This is a complex type.
*/
public class NoneDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.NoneDocument
{
private static final long serialVersionUID = 1L;
public NoneDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName NONE$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "None");
/**
* Gets the "None" element
*/
public io.github.isotes.vs.model.NoneDocument.None getNone()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NoneDocument.None target = null;
target = (io.github.isotes.vs.model.NoneDocument.None)get_store().find_element_user(NONE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "None" element
*/
public void setNone(io.github.isotes.vs.model.NoneDocument.None none)
{
generatedSetterHelperImpl(none, NONE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "None" element
*/
public io.github.isotes.vs.model.NoneDocument.None addNewNone()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.NoneDocument.None target = null;
target = (io.github.isotes.vs.model.NoneDocument.None)get_store().add_element_user(NONE$0);
return target;
}
}
/**
* An XML None(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public static class NoneImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.NoneDocument.None
{
private static final long serialVersionUID = 1L;
public NoneImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DEPENDENTUPON$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "DependentUpon");
private static final javax.xml.namespace.QName GENERATOR$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Generator");
private static final javax.xml.namespace.QName LASTGENOUTPUT$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "LastGenOutput");
private static final javax.xml.namespace.QName CUSTOMTOOLNAMESPACE$6 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "CustomToolNamespace");
private static final javax.xml.namespace.QName LINK$8 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Link");
private static final javax.xml.namespace.QName VISIBLE$10 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Visible");
private static final javax.xml.namespace.QName COPYTOOUTPUTDIRECTORY$12 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "CopyToOutputDirectory");
/**
* Gets a List of "DependentUpon" elements
*/
public java.util.List getDependentUponList()
{
final class DependentUponList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getDependentUponArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getDependentUponArray(i);
NoneImpl.this.setDependentUponArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewDependentUpon(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getDependentUponArray(i);
NoneImpl.this.removeDependentUpon(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfDependentUponArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new DependentUponList();
}
}
/**
* Gets array of all "DependentUpon" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getDependentUponArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(DEPENDENTUPON$0, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "DependentUpon" element
*/
public org.apache.xmlbeans.XmlObject getDependentUponArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(DEPENDENTUPON$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "DependentUpon" element
*/
public int sizeOfDependentUponArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DEPENDENTUPON$0);
}
}
/**
* Sets array of all "DependentUpon" element WARNING: This method is not atomicaly synchronized.
*/
public void setDependentUponArray(org.apache.xmlbeans.XmlObject[] dependentUponArray)
{
check_orphaned();
arraySetterHelper(dependentUponArray, DEPENDENTUPON$0);
}
/**
* Sets ith "DependentUpon" element
*/
public void setDependentUponArray(int i, org.apache.xmlbeans.XmlObject dependentUpon)
{
generatedSetterHelperImpl(dependentUpon, DEPENDENTUPON$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "DependentUpon" element
*/
public org.apache.xmlbeans.XmlObject insertNewDependentUpon(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(DEPENDENTUPON$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "DependentUpon" element
*/
public org.apache.xmlbeans.XmlObject addNewDependentUpon()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(DEPENDENTUPON$0);
return target;
}
}
/**
* Removes the ith "DependentUpon" element
*/
public void removeDependentUpon(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DEPENDENTUPON$0, i);
}
}
/**
* Gets a List of "Generator" elements
*/
public java.util.List getGeneratorList()
{
final class GeneratorList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getGeneratorArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getGeneratorArray(i);
NoneImpl.this.setGeneratorArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewGenerator(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getGeneratorArray(i);
NoneImpl.this.removeGenerator(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfGeneratorArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new GeneratorList();
}
}
/**
* Gets array of all "Generator" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getGeneratorArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(GENERATOR$2, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "Generator" element
*/
public org.apache.xmlbeans.XmlObject getGeneratorArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(GENERATOR$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "Generator" element
*/
public int sizeOfGeneratorArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(GENERATOR$2);
}
}
/**
* Sets array of all "Generator" element WARNING: This method is not atomicaly synchronized.
*/
public void setGeneratorArray(org.apache.xmlbeans.XmlObject[] generatorArray)
{
check_orphaned();
arraySetterHelper(generatorArray, GENERATOR$2);
}
/**
* Sets ith "Generator" element
*/
public void setGeneratorArray(int i, org.apache.xmlbeans.XmlObject generator)
{
generatedSetterHelperImpl(generator, GENERATOR$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "Generator" element
*/
public org.apache.xmlbeans.XmlObject insertNewGenerator(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(GENERATOR$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "Generator" element
*/
public org.apache.xmlbeans.XmlObject addNewGenerator()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(GENERATOR$2);
return target;
}
}
/**
* Removes the ith "Generator" element
*/
public void removeGenerator(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(GENERATOR$2, i);
}
}
/**
* Gets a List of "LastGenOutput" elements
*/
public java.util.List getLastGenOutputList()
{
final class LastGenOutputList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getLastGenOutputArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getLastGenOutputArray(i);
NoneImpl.this.setLastGenOutputArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewLastGenOutput(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getLastGenOutputArray(i);
NoneImpl.this.removeLastGenOutput(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfLastGenOutputArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new LastGenOutputList();
}
}
/**
* Gets array of all "LastGenOutput" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getLastGenOutputArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(LASTGENOUTPUT$4, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "LastGenOutput" element
*/
public org.apache.xmlbeans.XmlObject getLastGenOutputArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(LASTGENOUTPUT$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "LastGenOutput" element
*/
public int sizeOfLastGenOutputArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LASTGENOUTPUT$4);
}
}
/**
* Sets array of all "LastGenOutput" element WARNING: This method is not atomicaly synchronized.
*/
public void setLastGenOutputArray(org.apache.xmlbeans.XmlObject[] lastGenOutputArray)
{
check_orphaned();
arraySetterHelper(lastGenOutputArray, LASTGENOUTPUT$4);
}
/**
* Sets ith "LastGenOutput" element
*/
public void setLastGenOutputArray(int i, org.apache.xmlbeans.XmlObject lastGenOutput)
{
generatedSetterHelperImpl(lastGenOutput, LASTGENOUTPUT$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "LastGenOutput" element
*/
public org.apache.xmlbeans.XmlObject insertNewLastGenOutput(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(LASTGENOUTPUT$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "LastGenOutput" element
*/
public org.apache.xmlbeans.XmlObject addNewLastGenOutput()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(LASTGENOUTPUT$4);
return target;
}
}
/**
* Removes the ith "LastGenOutput" element
*/
public void removeLastGenOutput(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LASTGENOUTPUT$4, i);
}
}
/**
* Gets a List of "CustomToolNamespace" elements
*/
public java.util.List getCustomToolNamespaceList()
{
final class CustomToolNamespaceList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getCustomToolNamespaceArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getCustomToolNamespaceArray(i);
NoneImpl.this.setCustomToolNamespaceArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewCustomToolNamespace(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getCustomToolNamespaceArray(i);
NoneImpl.this.removeCustomToolNamespace(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfCustomToolNamespaceArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new CustomToolNamespaceList();
}
}
/**
* Gets array of all "CustomToolNamespace" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getCustomToolNamespaceArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(CUSTOMTOOLNAMESPACE$6, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "CustomToolNamespace" element
*/
public org.apache.xmlbeans.XmlObject getCustomToolNamespaceArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(CUSTOMTOOLNAMESPACE$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "CustomToolNamespace" element
*/
public int sizeOfCustomToolNamespaceArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CUSTOMTOOLNAMESPACE$6);
}
}
/**
* Sets array of all "CustomToolNamespace" element WARNING: This method is not atomicaly synchronized.
*/
public void setCustomToolNamespaceArray(org.apache.xmlbeans.XmlObject[] customToolNamespaceArray)
{
check_orphaned();
arraySetterHelper(customToolNamespaceArray, CUSTOMTOOLNAMESPACE$6);
}
/**
* Sets ith "CustomToolNamespace" element
*/
public void setCustomToolNamespaceArray(int i, org.apache.xmlbeans.XmlObject customToolNamespace)
{
generatedSetterHelperImpl(customToolNamespace, CUSTOMTOOLNAMESPACE$6, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "CustomToolNamespace" element
*/
public org.apache.xmlbeans.XmlObject insertNewCustomToolNamespace(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(CUSTOMTOOLNAMESPACE$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "CustomToolNamespace" element
*/
public org.apache.xmlbeans.XmlObject addNewCustomToolNamespace()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(CUSTOMTOOLNAMESPACE$6);
return target;
}
}
/**
* Removes the ith "CustomToolNamespace" element
*/
public void removeCustomToolNamespace(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CUSTOMTOOLNAMESPACE$6, i);
}
}
/**
* Gets a List of "Link" elements
*/
public java.util.List getLinkList()
{
final class LinkList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getLinkArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getLinkArray(i);
NoneImpl.this.setLinkArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewLink(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getLinkArray(i);
NoneImpl.this.removeLink(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfLinkArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new LinkList();
}
}
/**
* Gets array of all "Link" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getLinkArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(LINK$8, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "Link" element
*/
public org.apache.xmlbeans.XmlObject getLinkArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(LINK$8, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "Link" element
*/
public int sizeOfLinkArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(LINK$8);
}
}
/**
* Sets array of all "Link" element WARNING: This method is not atomicaly synchronized.
*/
public void setLinkArray(org.apache.xmlbeans.XmlObject[] linkArray)
{
check_orphaned();
arraySetterHelper(linkArray, LINK$8);
}
/**
* Sets ith "Link" element
*/
public void setLinkArray(int i, org.apache.xmlbeans.XmlObject link)
{
generatedSetterHelperImpl(link, LINK$8, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "Link" element
*/
public org.apache.xmlbeans.XmlObject insertNewLink(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(LINK$8, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "Link" element
*/
public org.apache.xmlbeans.XmlObject addNewLink()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(LINK$8);
return target;
}
}
/**
* Removes the ith "Link" element
*/
public void removeLink(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(LINK$8, i);
}
}
/**
* Gets a List of "Visible" elements
*/
public java.util.List getVisibleList()
{
final class VisibleList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getVisibleArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getVisibleArray(i);
NoneImpl.this.setVisibleArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewVisible(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getVisibleArray(i);
NoneImpl.this.removeVisible(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfVisibleArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new VisibleList();
}
}
/**
* Gets array of all "Visible" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getVisibleArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(VISIBLE$10, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "Visible" element
*/
public org.apache.xmlbeans.XmlObject getVisibleArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(VISIBLE$10, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "Visible" element
*/
public int sizeOfVisibleArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VISIBLE$10);
}
}
/**
* Sets array of all "Visible" element WARNING: This method is not atomicaly synchronized.
*/
public void setVisibleArray(org.apache.xmlbeans.XmlObject[] visibleArray)
{
check_orphaned();
arraySetterHelper(visibleArray, VISIBLE$10);
}
/**
* Sets ith "Visible" element
*/
public void setVisibleArray(int i, org.apache.xmlbeans.XmlObject visible)
{
generatedSetterHelperImpl(visible, VISIBLE$10, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "Visible" element
*/
public org.apache.xmlbeans.XmlObject insertNewVisible(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(VISIBLE$10, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "Visible" element
*/
public org.apache.xmlbeans.XmlObject addNewVisible()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(VISIBLE$10);
return target;
}
}
/**
* Removes the ith "Visible" element
*/
public void removeVisible(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VISIBLE$10, i);
}
}
/**
* Gets a List of "CopyToOutputDirectory" elements
*/
public java.util.List getCopyToOutputDirectoryList()
{
final class CopyToOutputDirectoryList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return NoneImpl.this.getCopyToOutputDirectoryArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getCopyToOutputDirectoryArray(i);
NoneImpl.this.setCopyToOutputDirectoryArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ NoneImpl.this.insertNewCopyToOutputDirectory(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = NoneImpl.this.getCopyToOutputDirectoryArray(i);
NoneImpl.this.removeCopyToOutputDirectory(i);
return old;
}
@Override
public int size()
{ return NoneImpl.this.sizeOfCopyToOutputDirectoryArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new CopyToOutputDirectoryList();
}
}
/**
* Gets array of all "CopyToOutputDirectory" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getCopyToOutputDirectoryArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(COPYTOOUTPUTDIRECTORY$12, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "CopyToOutputDirectory" element
*/
public org.apache.xmlbeans.XmlObject getCopyToOutputDirectoryArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(COPYTOOUTPUTDIRECTORY$12, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "CopyToOutputDirectory" element
*/
public int sizeOfCopyToOutputDirectoryArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(COPYTOOUTPUTDIRECTORY$12);
}
}
/**
* Sets array of all "CopyToOutputDirectory" element WARNING: This method is not atomicaly synchronized.
*/
public void setCopyToOutputDirectoryArray(org.apache.xmlbeans.XmlObject[] copyToOutputDirectoryArray)
{
check_orphaned();
arraySetterHelper(copyToOutputDirectoryArray, COPYTOOUTPUTDIRECTORY$12);
}
/**
* Sets ith "CopyToOutputDirectory" element
*/
public void setCopyToOutputDirectoryArray(int i, org.apache.xmlbeans.XmlObject copyToOutputDirectory)
{
generatedSetterHelperImpl(copyToOutputDirectory, COPYTOOUTPUTDIRECTORY$12, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "CopyToOutputDirectory" element
*/
public org.apache.xmlbeans.XmlObject insertNewCopyToOutputDirectory(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(COPYTOOUTPUTDIRECTORY$12, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "CopyToOutputDirectory" element
*/
public org.apache.xmlbeans.XmlObject addNewCopyToOutputDirectory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(COPYTOOUTPUTDIRECTORY$12);
return target;
}
}
/**
* Removes the ith "CopyToOutputDirectory" element
*/
public void removeCopyToOutputDirectory(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(COPYTOOUTPUTDIRECTORY$12, i);
}
}
}
}