net.zeroinstall.model.impl.FileImpl 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: file
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.File
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model.impl;
/**
* An XML file(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public class FileImpl extends net.zeroinstall.model.impl.DownloadRetrievalMethodImpl implements net.zeroinstall.model.File
{
private static final long serialVersionUID = 1L;
public FileImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName DEST$0 =
new javax.xml.namespace.QName("", "dest");
/**
* Gets the "dest" attribute
*/
public java.lang.String getDest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEST$0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "dest" attribute
*/
public org.apache.xmlbeans.XmlString xgetDest()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEST$0);
return target;
}
}
/**
* Sets the "dest" attribute
*/
public void setDest(java.lang.String dest)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DEST$0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DEST$0);
}
target.setStringValue(dest);
}
}
/**
* Sets (as xml) the "dest" attribute
*/
public void xsetDest(org.apache.xmlbeans.XmlString dest)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(DEST$0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(DEST$0);
}
target.set(dest);
}
}
}