/*
* XML Type: EntityId
* Namespace:
* Java type: noNamespace.EntityId
*
* Automatically generated - do not modify.
*/
package noNamespace.impl;
/**
* An XML EntityId(@).
*
* This is a complex type.
*/
public class EntityIdImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements noNamespace.EntityId
{
private static final long serialVersionUID = 1L;
public EntityIdImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName ID$0 =
new javax.xml.namespace.QName("", "id");
private static final javax.xml.namespace.QName TYPE$2 =
new javax.xml.namespace.QName("", "type");
private static final javax.xml.namespace.QName ISPATTERN$4 =
new javax.xml.namespace.QName("", "isPattern");
/**
* Gets the "id" element
*/
public java.lang.String getId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ID$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "id" element
*/
public org.apache.xmlbeans.XmlString xgetId()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ID$0, 0);
return target;
}
}
/**
* Sets the "id" element
*/
public void setId(java.lang.String id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ID$0);
}
target.setStringValue(id);
}
}
/**
* Sets (as xml) the "id" element
*/
public void xsetId(org.apache.xmlbeans.XmlString id)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(ID$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(ID$0);
}
target.set(id);
}
}
/**
* Gets the "type" attribute
*/
public java.lang.String getType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "type" attribute
*/
public org.apache.xmlbeans.XmlAnyURI xgetType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(TYPE$2);
return target;
}
}
/**
* True if has "type" attribute
*/
public boolean isSetType()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(TYPE$2) != null;
}
}
/**
* Sets the "type" attribute
*/
public void setType(java.lang.String type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(TYPE$2);
}
target.setStringValue(type);
}
}
/**
* Sets (as xml) the "type" attribute
*/
public void xsetType(org.apache.xmlbeans.XmlAnyURI type)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_attribute_user(TYPE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_attribute_user(TYPE$2);
}
target.set(type);
}
}
/**
* Unsets the "type" attribute
*/
public void unsetType()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(TYPE$2);
}
}
/**
* Gets the "isPattern" attribute
*/
public boolean getIsPattern()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISPATTERN$4);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "isPattern" attribute
*/
public org.apache.xmlbeans.XmlBoolean xgetIsPattern()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISPATTERN$4);
return target;
}
}
/**
* True if has "isPattern" attribute
*/
public boolean isSetIsPattern()
{
synchronized (monitor())
{
check_orphaned();
return get_store().find_attribute_user(ISPATTERN$4) != null;
}
}
/**
* Sets the "isPattern" attribute
*/
public void setIsPattern(boolean isPattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISPATTERN$4);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISPATTERN$4);
}
target.setBooleanValue(isPattern);
}
}
/**
* Sets (as xml) the "isPattern" attribute
*/
public void xsetIsPattern(org.apache.xmlbeans.XmlBoolean isPattern)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISPATTERN$4);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISPATTERN$4);
}
target.set(isPattern);
}
}
/**
* Unsets the "isPattern" attribute
*/
public void unsetIsPattern()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_attribute(ISPATTERN$4);
}
}
}