io.github.isotes.vs.model.impl.AppxManifestMetadataDocumentImpl 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: AppxManifestMetadata
* Namespace: http://schemas.microsoft.com/developer/msbuild/2003
* Java type: io.github.isotes.vs.model.AppxManifestMetadataDocument
*
* Automatically generated - do not modify.
*/
package io.github.isotes.vs.model.impl;
/**
* A document containing one AppxManifestMetadata(@http://schemas.microsoft.com/developer/msbuild/2003) element.
*
* This is a complex type.
*/
public class AppxManifestMetadataDocumentImpl extends io.github.isotes.vs.model.impl.ItemDocumentImpl implements io.github.isotes.vs.model.AppxManifestMetadataDocument
{
private static final long serialVersionUID = 1L;
public AppxManifestMetadataDocumentImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName APPXMANIFESTMETADATA$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "AppxManifestMetadata");
/**
* Gets the "AppxManifestMetadata" element
*/
public io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata getAppxManifestMetadata()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata target = null;
target = (io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata)get_store().find_element_user(APPXMANIFESTMETADATA$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "AppxManifestMetadata" element
*/
public void setAppxManifestMetadata(io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata appxManifestMetadata)
{
generatedSetterHelperImpl(appxManifestMetadata, APPXMANIFESTMETADATA$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "AppxManifestMetadata" element
*/
public io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata addNewAppxManifestMetadata()
{
synchronized (monitor())
{
check_orphaned();
io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata target = null;
target = (io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata)get_store().add_element_user(APPXMANIFESTMETADATA$0);
return target;
}
}
/**
* An XML AppxManifestMetadata(@http://schemas.microsoft.com/developer/msbuild/2003).
*
* This is a complex type.
*/
public static class AppxManifestMetadataImpl extends io.github.isotes.vs.model.impl.SimpleItemTypeImpl implements io.github.isotes.vs.model.AppxManifestMetadataDocument.AppxManifestMetadata
{
private static final long serialVersionUID = 1L;
public AppxManifestMetadataImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VALUE$0 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Value");
private static final javax.xml.namespace.QName VERSION$2 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Version");
private static final javax.xml.namespace.QName NAME$4 =
new javax.xml.namespace.QName("http://schemas.microsoft.com/developer/msbuild/2003", "Name");
/**
* Gets the "Value" element
*/
public org.apache.xmlbeans.XmlObject getValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Value" element
*/
public boolean isSetValue()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VALUE$0) != 0;
}
}
/**
* Sets the "Value" element
*/
public void setValue(org.apache.xmlbeans.XmlObject value)
{
generatedSetterHelperImpl(value, VALUE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Value" element
*/
public org.apache.xmlbeans.XmlObject addNewValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(VALUE$0);
return target;
}
}
/**
* Unsets the "Value" element
*/
public void unsetValue()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VALUE$0, 0);
}
}
/**
* Gets the "Version" element
*/
public org.apache.xmlbeans.XmlObject getVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(VERSION$2, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Version" element
*/
public boolean isSetVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VERSION$2) != 0;
}
}
/**
* Sets the "Version" element
*/
public void setVersion(org.apache.xmlbeans.XmlObject version)
{
generatedSetterHelperImpl(version, VERSION$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Version" element
*/
public org.apache.xmlbeans.XmlObject addNewVersion()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(VERSION$2);
return target;
}
}
/**
* Unsets the "Version" element
*/
public void unsetVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VERSION$2, 0);
}
}
/**
* Gets the "Name" element
*/
public org.apache.xmlbeans.XmlObject getName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().find_element_user(NAME$4, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "Name" element
*/
public boolean isSetName()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(NAME$4) != 0;
}
}
/**
* Sets the "Name" element
*/
public void setName(org.apache.xmlbeans.XmlObject name)
{
generatedSetterHelperImpl(name, NAME$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
}
/**
* Appends and returns a new empty "Name" element
*/
public org.apache.xmlbeans.XmlObject addNewName()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlObject target = null;
target = (org.apache.xmlbeans.XmlObject)get_store().add_element_user(NAME$4);
return target;
}
}
/**
* Unsets the "Name" element
*/
public void unsetName()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(NAME$4, 0);
}
}
}
}