org.openehr.schemas.v1.impl.CONSTRAINTBINDINGITEMImpl Maven / Gradle / Ivy
/*
* XML Type: CONSTRAINT_BINDING_ITEM
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.CONSTRAINTBINDINGITEM
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML CONSTRAINT_BINDING_ITEM(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class CONSTRAINTBINDINGITEMImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.CONSTRAINTBINDINGITEM
{
private static final long serialVersionUID = 1L;
public CONSTRAINTBINDINGITEMImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName VALUE$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "value");
private static final javax.xml.namespace.QName CODE$2 =
new javax.xml.namespace.QName("", "code");
/**
* Gets the "value" element
*/
public java.lang.String getValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "value" element
*/
public org.apache.xmlbeans.XmlAnyURI xgetValue()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(VALUE$0, 0);
return target;
}
}
/**
* Sets the "value" element
*/
public void setValue(java.lang.String value)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VALUE$0);
}
target.setStringValue(value);
}
}
/**
* Sets (as xml) the "value" element
*/
public void xsetValue(org.apache.xmlbeans.XmlAnyURI value)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlAnyURI target = null;
target = (org.apache.xmlbeans.XmlAnyURI)get_store().find_element_user(VALUE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlAnyURI)get_store().add_element_user(VALUE$0);
}
target.set(value);
}
}
/**
* Gets the "code" attribute
*/
public java.lang.String getCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CODE$2);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "code" attribute
*/
public org.apache.xmlbeans.XmlString xgetCode()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CODE$2);
return target;
}
}
/**
* Sets the "code" attribute
*/
public void setCode(java.lang.String code)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(CODE$2);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(CODE$2);
}
target.setStringValue(code);
}
}
/**
* Sets (as xml) the "code" attribute
*/
public void xsetCode(org.apache.xmlbeans.XmlString code)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(CODE$2);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(CODE$2);
}
target.set(code);
}
}
}