net.zeroinstall.model.impl.FeedReferenceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zeroinstall-model Show documentation
Show all versions of zeroinstall-model Show documentation
The Zero Install XSD model transformed by Apache XMLBeans to Java source code.
The newest version!
/*
* XML Type: feed-reference
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.FeedReference
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model.impl;
/**
* An XML feed-reference(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public class FeedReferenceImpl extends net.zeroinstall.model.impl.FeedElementImpl implements net.zeroinstall.model.FeedReference
{
private static final long serialVersionUID = 1L;
public FeedReferenceImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SRC$0 =
new javax.xml.namespace.QName("", "src");
private static final javax.xml.namespace.QName LANGS$2 =
new javax.xml.namespace.QName("", "langs");
private static final javax.xml.namespace.QName ARCH$4 =
new javax.xml.namespace.QName("", "arch");
/**
* Gets the "src" attribute
*/
public java.lang.String getSrc()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRC$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "src" attribute
*/
public org.apache.xmlbeans.XmlString xgetSrc()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SRC$0);
return target;
}
}
/**
* Sets the "src" attribute
*/
public void setSrc(java.lang.String src)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SRC$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SRC$0);
}
target.setStringValue(src);
}
}
/**
* Sets (as xml) the "src" attribute
*/
public void xsetSrc(org.apache.xmlbeans.XmlString src)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(SRC$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(SRC$0);
}
target.set(src);
}
}
/**
* 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$2);
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$2);
return target;
}
}
/**
* True if has "langs" attribute
*/
public boolean isSetLangs()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(LANGS$2) != 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$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(LANGS$2);
}
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$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(LANGS$2);
}
target.set(langs);
}
}
/**
* Unsets the "langs" attribute
*/
public void unsetLangs()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(LANGS$2);
}
}
/**
* 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$4);
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$4);
return target;
}
}
/**
* True if has "arch" attribute
*/
public boolean isSetArch()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ARCH$4) != 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$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ARCH$4);
}
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$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ARCH$4);
}
target.set(arch);
}
}
/**
* Unsets the "arch" attribute
*/
public void unsetArch()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ARCH$4);
}
}
}