
net.zeroinstall.model.impl.OverlayImpl Maven / Gradle / Ivy
/*
* XML Type: overlay
* Namespace: http://zero-install.sourceforge.net/2004/injector/interface
* Java type: net.zeroinstall.model.Overlay
*
* Automatically generated - do not modify.
*/
package net.zeroinstall.model.impl;
/**
* An XML overlay(@http://zero-install.sourceforge.net/2004/injector/interface).
*
* This is a complex type.
*/
public class OverlayImpl extends net.zeroinstall.model.impl.BindingBaseImpl implements net.zeroinstall.model.Overlay
{
private static final long serialVersionUID = 1L;
public OverlayImpl(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 MOUNTPOINT$2 =
new javax.xml.namespace.QName("", "mount-point");
/**
* 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);
}
}
/**
* Gets the "mount-point" attribute
*/
public java.lang.String getMountPoint()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MOUNTPOINT$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "mount-point" attribute
*/
public org.apache.xmlbeans.XmlString xgetMountPoint()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MOUNTPOINT$2);
return target;
}
}
/**
* True if has "mount-point" attribute
*/
public boolean isSetMountPoint()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(MOUNTPOINT$2) != null;
}
}
/**
* Sets the "mount-point" attribute
*/
public void setMountPoint(java.lang.String mountPoint)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(MOUNTPOINT$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(MOUNTPOINT$2);
}
target.setStringValue(mountPoint);
}
}
/**
* Sets (as xml) the "mount-point" attribute
*/
public void xsetMountPoint(org.apache.xmlbeans.XmlString mountPoint)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(MOUNTPOINT$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(MOUNTPOINT$2);
}
target.set(mountPoint);
}
}
/**
* Unsets the "mount-point" attribute
*/
public void unsetMountPoint()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(MOUNTPOINT$2);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy