
io.github.isotes.vs.model.impl.DotNetCliToolReferenceDocumentImpl 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: DotNetCliToolReference
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.DotNetCliToolReferenceDocument
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* A document containing one DotNetCliToolReference(@http://schemas.microsoft.com/developer/msbuild/2003) element.
*
* This is a complex type.
*/
public class DotNetCliToolReferenceDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.DotNetCliToolReferenceDocument
{
private static final long serialVersionUID = 1L;
public DotNetCliToolReferenceDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DOTNETCLITOOLREFERENCE$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "DotNetCliToolReference");
/**
* Gets the "DotNetCliToolReference" element
*/
public io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference getDotNetCliToolReference()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference target = null;
target = (io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference)get_store().find_element_user(DOTNETCLITOOLREFERENCE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "DotNetCliToolReference" element
*/
public void setDotNetCliToolReference(io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference dotNetCliToolReference)
{
generatedSetterHelperImpl(dotNetCliToolReference, DOTNETCLITOOLREFERENCE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "DotNetCliToolReference" element
*/
public io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference addNewDotNetCliToolReference()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference target = null;
target = (io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference)get_store().add_element_user(DOTNETCLITOOLREFERENCE$0);
return target;
}
}
/**
* An XML DotNetCliToolReference(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public static class DotNetCliToolReferenceImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.DotNetCliToolReferenceDocument.DotNetCliToolReference
{
private static final long serialVersionUID = 1L;
public DotNetCliToolReferenceImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName INCLUDEASSETS$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "IncludeAssets");
private static final javax.xml.namespace.QName EXCLUDEASSETS$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "ExcludeAssets");
private static final javax.xml.namespace.QName PRIVATEASSETS$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "PrivateAssets");
private static final javax.xml.namespace.QName VERSION$6 =
new javax.xml.namespace.QName("", "Version");
/**
* Gets a List of "IncludeAssets" elements
*/
public java.util.List getIncludeAssetsList()
{
final class IncludeAssetsList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return DotNetCliToolReferenceImpl.this.getIncludeAssetsArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getIncludeAssetsArray(i);
DotNetCliToolReferenceImpl.this.setIncludeAssetsArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ DotNetCliToolReferenceImpl.this.insertNewIncludeAssets(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getIncludeAssetsArray(i);
DotNetCliToolReferenceImpl.this.removeIncludeAssets(i);
return old;
}
@Override
public int size()
{ return DotNetCliToolReferenceImpl.this.sizeOfIncludeAssetsArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new IncludeAssetsList();
}
}
/**
* Gets array of all "IncludeAssets" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getIncludeAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(INCLUDEASSETS$0, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "IncludeAssets" element
*/
public org.apache.xmlbeans.XmlObject getIncludeAssetsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(INCLUDEASSETS$0, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "IncludeAssets" element
*/
public int sizeOfIncludeAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(INCLUDEASSETS$0);
}
}
/**
* Sets array of all "IncludeAssets" element WARNING: This method is not atomicaly synchronized.
*/
public void setIncludeAssetsArray(org.apache.xmlbeans.XmlObject[] includeAssetsArray)
{
check_orphaned();
arraySetterHelper(includeAssetsArray, INCLUDEASSETS$0);
}
/**
* Sets ith "IncludeAssets" element
*/
public void setIncludeAssetsArray(int i, org.apache.xmlbeans.XmlObject includeAssets)
{
generatedSetterHelperImpl(includeAssets, INCLUDEASSETS$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "IncludeAssets" element
*/
public org.apache.xmlbeans.XmlObject insertNewIncludeAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(INCLUDEASSETS$0, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "IncludeAssets" element
*/
public org.apache.xmlbeans.XmlObject addNewIncludeAssets()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(INCLUDEASSETS$0);
return target;
}
}
/**
* Removes the ith "IncludeAssets" element
*/
public void removeIncludeAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(INCLUDEASSETS$0, i);
}
}
/**
* Gets a List of "ExcludeAssets" elements
*/
public java.util.List getExcludeAssetsList()
{
final class ExcludeAssetsList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return DotNetCliToolReferenceImpl.this.getExcludeAssetsArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getExcludeAssetsArray(i);
DotNetCliToolReferenceImpl.this.setExcludeAssetsArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ DotNetCliToolReferenceImpl.this.insertNewExcludeAssets(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getExcludeAssetsArray(i);
DotNetCliToolReferenceImpl.this.removeExcludeAssets(i);
return old;
}
@Override
public int size()
{ return DotNetCliToolReferenceImpl.this.sizeOfExcludeAssetsArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new ExcludeAssetsList();
}
}
/**
* Gets array of all "ExcludeAssets" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getExcludeAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(EXCLUDEASSETS$2, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "ExcludeAssets" element
*/
public org.apache.xmlbeans.XmlObject getExcludeAssetsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(EXCLUDEASSETS$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "ExcludeAssets" element
*/
public int sizeOfExcludeAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(EXCLUDEASSETS$2);
}
}
/**
* Sets array of all "ExcludeAssets" element WARNING: This method is not atomicaly synchronized.
*/
public void setExcludeAssetsArray(org.apache.xmlbeans.XmlObject[] excludeAssetsArray)
{
check_orphaned();
arraySetterHelper(excludeAssetsArray, EXCLUDEASSETS$2);
}
/**
* Sets ith "ExcludeAssets" element
*/
public void setExcludeAssetsArray(int i, org.apache.xmlbeans.XmlObject excludeAssets)
{
generatedSetterHelperImpl(excludeAssets, EXCLUDEASSETS$2, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "ExcludeAssets" element
*/
public org.apache.xmlbeans.XmlObject insertNewExcludeAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(EXCLUDEASSETS$2, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "ExcludeAssets" element
*/
public org.apache.xmlbeans.XmlObject addNewExcludeAssets()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(EXCLUDEASSETS$2);
return target;
}
}
/**
* Removes the ith "ExcludeAssets" element
*/
public void removeExcludeAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(EXCLUDEASSETS$2, i);
}
}
/**
* Gets a List of "PrivateAssets" elements
*/
public java.util.List getPrivateAssetsList()
{
final class PrivateAssetsList extends java.util.AbstractList
{
@Override
public org.apache.xmlbeans.XmlObject get(int i)
{ return DotNetCliToolReferenceImpl.this.getPrivateAssetsArray(i); }
@Override
public org.apache.xmlbeans.XmlObject set(int i, org.apache.xmlbeans.XmlObject o)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getPrivateAssetsArray(i);
DotNetCliToolReferenceImpl.this.setPrivateAssetsArray(i, o);
return old;
}
@Override
public void add(int i, org.apache.xmlbeans.XmlObject o)
{ DotNetCliToolReferenceImpl.this.insertNewPrivateAssets(i).set(o); }
@Override
public org.apache.xmlbeans.XmlObject remove(int i)
{
org.apache.xmlbeans.XmlObject old = DotNetCliToolReferenceImpl.this.getPrivateAssetsArray(i);
DotNetCliToolReferenceImpl.this.removePrivateAssets(i);
return old;
}
@Override
public int size()
{ return DotNetCliToolReferenceImpl.this.sizeOfPrivateAssetsArray(); }
}
synchronized (monitor())
{
check_orphaned();
return new PrivateAssetsList();
}
}
/**
* Gets array of all "PrivateAssets" elements
* @deprecated
*/
@Deprecated
public org.apache.xmlbeans.XmlObject[] getPrivateAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(PRIVATEASSETS$4, targetList);
org.apache.xmlbeans.XmlObject[] result = new org.apache.xmlbeans.XmlObject[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "PrivateAssets" element
*/
public org.apache.xmlbeans.XmlObject getPrivateAssetsArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(PRIVATEASSETS$4, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "PrivateAssets" element
*/
public int sizeOfPrivateAssetsArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(PRIVATEASSETS$4);
}
}
/**
* Sets array of all "PrivateAssets" element WARNING: This method is not atomicaly synchronized.
*/
public void setPrivateAssetsArray(org.apache.xmlbeans.XmlObject[] privateAssetsArray)
{
check_orphaned();
arraySetterHelper(privateAssetsArray, PRIVATEASSETS$4);
}
/**
* Sets ith "PrivateAssets" element
*/
public void setPrivateAssetsArray(int i, org.apache.xmlbeans.XmlObject privateAssets)
{
generatedSetterHelperImpl(privateAssets, PRIVATEASSETS$4, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
}
/**
* Inserts and returns a new empty value (as xml) as the ith "PrivateAssets" element
*/
public org.apache.xmlbeans.XmlObject insertNewPrivateAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().insert_element_user(PRIVATEASSETS$4, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "PrivateAssets" element
*/
public org.apache.xmlbeans.XmlObject addNewPrivateAssets()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(PRIVATEASSETS$4);
return target;
}
}
/**
* Removes the ith "PrivateAssets" element
*/
public void removePrivateAssets(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(PRIVATEASSETS$4, i);
}
}
/**
* Gets the "Version" attribute
*/
public java.lang.String getVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "Version" attribute
*/
public org.apache.xmlbeans.XmlString xgetVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VERSION$6);
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(java.lang.String version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSION$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERSION$6);
}
target.setStringValue(version);
}
}
/**
* Sets (as xml) the "Version" attribute
*/
public void xsetVersion(org.apache.xmlbeans.XmlString version)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VERSION$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VERSION$6);
}
target.set(version);
}
}
/**
* Unsets the "Version" attribute
*/
public void unsetVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VERSION$6);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy