![JAR search and dependency download from the Maven repository](/logo.png)
net.zeroinstall.model.impl.WorkingDirImpl 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: working-dir
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.WorkingDir
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model.impl;
/**
* An XML working-dir(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public class WorkingDirImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.zeroinstall.model.WorkingDir
{
private static final long serialVersionUID = 1L;
public WorkingDirImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName SRC$0 =
new javax.xml.namespace.QName("", "src");
/**
* 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;
}
}
/**
* True if has "src" attribute
*/
public boolean isSetSrc()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(SRC$0) != null;
}
}
/**
* 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);
}
}
/**
* Unsets the "src" attribute
*/
public void unsetSrc()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(SRC$0);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy