
net.zeroinstall.model.impl.ElementImpl Maven / Gradle / Ivy
/*
* XML Type: element
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.Element
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model.impl;
/**
* An XML element(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public class ElementImpl extends net.zeroinstall.model.impl.FeedElementImpl implements net.zeroinstall.model.Element
{
private static final long serialVersionUID = 1L;
public ElementImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName LANGS$0 =
new javax.xml.namespace.QName("", "langs");
private static final javax.xml.namespace.QName ARCH$2 =
new javax.xml.namespace.QName("", "arch");
private static final javax.xml.namespace.QName VERSION$4 =
new javax.xml.namespace.QName("", "version");
private static final javax.xml.namespace.QName VERSIONMODIFIER$6 =
new javax.xml.namespace.QName("", "version-modifier");
private static final javax.xml.namespace.QName RELEASED$8 =
new javax.xml.namespace.QName("", "released");
private static final javax.xml.namespace.QName STABILITY$10 =
new javax.xml.namespace.QName("", "stability");
private static final javax.xml.namespace.QName LICENSE$12 =
new javax.xml.namespace.QName("", "license");
private static final javax.xml.namespace.QName MAIN$14 =
new javax.xml.namespace.QName("", "main");
private static final javax.xml.namespace.QName SELFTEST$16 =
new javax.xml.namespace.QName("", "self-test");
private static final javax.xml.namespace.QName DOCDIR$18 =
new javax.xml.namespace.QName("", "doc-dir");
/**
* Gets the "langs" attribute
*/
public java.lang.String getLangs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGS$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "langs" attribute
*/
public org.apache.xmlbeans.XmlString xgetLangs()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LANGS$0);
return target;
}
}
/**
* True if has "langs" attribute
*/
public boolean isSetLangs()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LANGS$0) != null;
}
}
/**
* Sets the "langs" attribute
*/
public void setLangs(java.lang.String langs)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LANGS$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANGS$0);
}
target.setStringValue(langs);
}
}
/**
* Sets (as xml) the "langs" attribute
*/
public void xsetLangs(org.apache.xmlbeans.XmlString langs)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LANGS$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(LANGS$0);
}
target.set(langs);
}
}
/**
* Unsets the "langs" attribute
*/
public void unsetLangs()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LANGS$0);
}
}
/**
* Gets the "arch" attribute
*/
public java.lang.String getArch()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCH$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "arch" attribute
*/
public org.apache.xmlbeans.XmlString xgetArch()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ARCH$2);
return target;
}
}
/**
* True if has "arch" attribute
*/
public boolean isSetArch()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ARCH$2) != null;
}
}
/**
* Sets the "arch" attribute
*/
public void setArch(java.lang.String arch)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ARCH$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARCH$2);
}
target.setStringValue(arch);
}
}
/**
* Sets (as xml) the "arch" attribute
*/
public void xsetArch(org.apache.xmlbeans.XmlString arch)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ARCH$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ARCH$2);
}
target.set(arch);
}
}
/**
* Unsets the "arch" attribute
*/
public void unsetArch()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ARCH$2);
}
}
/**
* 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$4);
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$4);
return target;
}
}
/**
* True if has "version" attribute
*/
public boolean isSetVersion()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VERSION$4) != 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$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERSION$4);
}
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$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VERSION$4);
}
target.set(version);
}
}
/**
* Unsets the "version" attribute
*/
public void unsetVersion()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VERSION$4);
}
}
/**
* Gets the "version-modifier" attribute
*/
public java.lang.String getVersionModifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSIONMODIFIER$6);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "version-modifier" attribute
*/
public org.apache.xmlbeans.XmlString xgetVersionModifier()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VERSIONMODIFIER$6);
return target;
}
}
/**
* True if has "version-modifier" attribute
*/
public boolean isSetVersionModifier()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(VERSIONMODIFIER$6) != null;
}
}
/**
* Sets the "version-modifier" attribute
*/
public void setVersionModifier(java.lang.String versionModifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(VERSIONMODIFIER$6);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(VERSIONMODIFIER$6);
}
target.setStringValue(versionModifier);
}
}
/**
* Sets (as xml) the "version-modifier" attribute
*/
public void xsetVersionModifier(org.apache.xmlbeans.XmlString versionModifier)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(VERSIONMODIFIER$6);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(VERSIONMODIFIER$6);
}
target.set(versionModifier);
}
}
/**
* Unsets the "version-modifier" attribute
*/
public void unsetVersionModifier()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(VERSIONMODIFIER$6);
}
}
/**
* Gets the "released" attribute
*/
public java.lang.String getReleased()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RELEASED$8);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "released" attribute
*/
public org.apache.xmlbeans.XmlString xgetReleased()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RELEASED$8);
return target;
}
}
/**
* True if has "released" attribute
*/
public boolean isSetReleased()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(RELEASED$8) != null;
}
}
/**
* Sets the "released" attribute
*/
public void setReleased(java.lang.String released)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RELEASED$8);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RELEASED$8);
}
target.setStringValue(released);
}
}
/**
* Sets (as xml) the "released" attribute
*/
public void xsetReleased(org.apache.xmlbeans.XmlString released)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RELEASED$8);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(RELEASED$8);
}
target.set(released);
}
}
/**
* Unsets the "released" attribute
*/
public void unsetReleased()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(RELEASED$8);
}
}
/**
* Gets the "stability" attribute
*/
public net.zeroinstall.model.Stability.Enum getStability()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STABILITY$10);
if (target == null)
{
return null;
}
return (net.zeroinstall.model.Stability.Enum)target.getEnumValue();
}
}
/**
* Gets (as xml) the "stability" attribute
*/
public net.zeroinstall.model.Stability xgetStability()
{
synchronized (monitor())
{
check_orphaned();
net.zeroinstall.model.Stability target = null;
target = (net.zeroinstall.model.Stability)get_store().find_attribute_user(STABILITY$10);
return target;
}
}
/**
* True if has "stability" attribute
*/
public boolean isSetStability()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(STABILITY$10) != null;
}
}
/**
* Sets the "stability" attribute
*/
public void setStability(net.zeroinstall.model.Stability.Enum stability)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STABILITY$10);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STABILITY$10);
}
target.setEnumValue(stability);
}
}
/**
* Sets (as xml) the "stability" attribute
*/
public void xsetStability(net.zeroinstall.model.Stability stability)
{
synchronized (monitor())
{
check_orphaned();
net.zeroinstall.model.Stability target = null;
target = (net.zeroinstall.model.Stability)get_store().find_attribute_user(STABILITY$10);
if (target == null)
{
target = (net.zeroinstall.model.Stability)get_store().add_attribute_user(STABILITY$10);
}
target.set(stability);
}
}
/**
* Unsets the "stability" attribute
*/
public void unsetStability()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(STABILITY$10);
}
}
/**
* Gets the "license" attribute
*/
public java.lang.String getLicense()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LICENSE$12);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "license" attribute
*/
public org.apache.xmlbeans.XmlString xgetLicense()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LICENSE$12);
return target;
}
}
/**
* True if has "license" attribute
*/
public boolean isSetLicense()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LICENSE$12) != null;
}
}
/**
* Sets the "license" attribute
*/
public void setLicense(java.lang.String license)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(LICENSE$12);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LICENSE$12);
}
target.setStringValue(license);
}
}
/**
* Sets (as xml) the "license" attribute
*/
public void xsetLicense(org.apache.xmlbeans.XmlString license)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(LICENSE$12);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(LICENSE$12);
}
target.set(license);
}
}
/**
* Unsets the "license" attribute
*/
public void unsetLicense()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LICENSE$12);
}
}
/**
* Gets the "main" attribute
*/
public java.lang.String getMain()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAIN$14);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "main" attribute
*/
public org.apache.xmlbeans.XmlString xgetMain()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MAIN$14);
return target;
}
}
/**
* True if has "main" attribute
*/
public boolean isSetMain()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(MAIN$14) != null;
}
}
/**
* Sets the "main" attribute
*/
public void setMain(java.lang.String main)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MAIN$14);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MAIN$14);
}
target.setStringValue(main);
}
}
/**
* Sets (as xml) the "main" attribute
*/
public void xsetMain(org.apache.xmlbeans.XmlString main)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MAIN$14);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(MAIN$14);
}
target.set(main);
}
}
/**
* Unsets the "main" attribute
*/
public void unsetMain()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(MAIN$14);
}
}
/**
* Gets the "self-test" attribute
*/
public java.lang.String getSelfTest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SELFTEST$16);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "self-test" attribute
*/
public org.apache.xmlbeans.XmlString xgetSelfTest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SELFTEST$16);
return target;
}
}
/**
* True if has "self-test" attribute
*/
public boolean isSetSelfTest()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SELFTEST$16) != null;
}
}
/**
* Sets the "self-test" attribute
*/
public void setSelfTest(java.lang.String selfTest)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SELFTEST$16);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SELFTEST$16);
}
target.setStringValue(selfTest);
}
}
/**
* Sets (as xml) the "self-test" attribute
*/
public void xsetSelfTest(org.apache.xmlbeans.XmlString selfTest)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SELFTEST$16);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SELFTEST$16);
}
target.set(selfTest);
}
}
/**
* Unsets the "self-test" attribute
*/
public void unsetSelfTest()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SELFTEST$16);
}
}
/**
* Gets the "doc-dir" attribute
*/
public java.lang.String getDocDir()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOCDIR$18);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "doc-dir" attribute
*/
public org.apache.xmlbeans.XmlString xgetDocDir()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOCDIR$18);
return target;
}
}
/**
* True if has "doc-dir" attribute
*/
public boolean isSetDocDir()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(DOCDIR$18) != null;
}
}
/**
* Sets the "doc-dir" attribute
*/
public void setDocDir(java.lang.String docDir)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DOCDIR$18);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DOCDIR$18);
}
target.setStringValue(docDir);
}
}
/**
* Sets (as xml) the "doc-dir" attribute
*/
public void xsetDocDir(org.apache.xmlbeans.XmlString docDir)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DOCDIR$18);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DOCDIR$18);
}
target.set(docDir);
}
}
/**
* Unsets the "doc-dir" attribute
*/
public void unsetDocDir()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(DOCDIR$18);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy