All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.openehr.schemas.v1.impl.EXTRACTSPECImpl Maven / Gradle / Ivy
/*
* XML Type: EXTRACT_SPEC
* Namespace: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.EXTRACTSPEC
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1.impl;
/**
* An XML EXTRACT_SPEC(@http://schemas.openehr.org/v1).
*
* This is a complex type.
*/
public class EXTRACTSPECImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.openehr.schemas.v1.EXTRACTSPEC
{
private static final long serialVersionUID = 1L;
public EXTRACTSPECImpl(org.apache.xmlbeans.SchemaType sType)
{
super(sType);
}
private static final javax.xml.namespace.QName EXTRACTTYPE$0 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "extract_type");
private static final javax.xml.namespace.QName INCLUDESMULTIMEDIA$2 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "includes_multimedia");
private static final javax.xml.namespace.QName LINKDEPTH$4 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "link_depth");
private static final javax.xml.namespace.QName CRITERIA$6 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "criteria");
private static final javax.xml.namespace.QName INCLUDESDIRECTORY$8 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "includes_directory");
private static final javax.xml.namespace.QName DIRECTORYARCHETYPE$10 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "directory_archetype");
private static final javax.xml.namespace.QName OTHERDETAILS$12 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "other_details");
private static final javax.xml.namespace.QName VERSIONSPEC$14 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "version_spec");
private static final javax.xml.namespace.QName MANIFEST$16 =
new javax.xml.namespace.QName("http://schemas.openehr.org/v1", "manifest");
/**
* Gets the "extract_type" element
*/
public java.lang.String getExtractType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXTRACTTYPE$0, 0);
if (target == null)
{
return null;
}
return target.getStringValue();
}
}
/**
* Gets (as xml) the "extract_type" element
*/
public org.apache.xmlbeans.XmlString xgetExtractType()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXTRACTTYPE$0, 0);
return target;
}
}
/**
* Sets the "extract_type" element
*/
public void setExtractType(java.lang.String extractType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXTRACTTYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXTRACTTYPE$0);
}
target.setStringValue(extractType);
}
}
/**
* Sets (as xml) the "extract_type" element
*/
public void xsetExtractType(org.apache.xmlbeans.XmlString extractType)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlString target = null;
target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(EXTRACTTYPE$0, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(EXTRACTTYPE$0);
}
target.set(extractType);
}
}
/**
* Gets the "includes_multimedia" element
*/
public boolean getIncludesMultimedia()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INCLUDESMULTIMEDIA$2, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "includes_multimedia" element
*/
public org.apache.xmlbeans.XmlBoolean xgetIncludesMultimedia()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INCLUDESMULTIMEDIA$2, 0);
return target;
}
}
/**
* Sets the "includes_multimedia" element
*/
public void setIncludesMultimedia(boolean includesMultimedia)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INCLUDESMULTIMEDIA$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INCLUDESMULTIMEDIA$2);
}
target.setBooleanValue(includesMultimedia);
}
}
/**
* Sets (as xml) the "includes_multimedia" element
*/
public void xsetIncludesMultimedia(org.apache.xmlbeans.XmlBoolean includesMultimedia)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INCLUDESMULTIMEDIA$2, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(INCLUDESMULTIMEDIA$2);
}
target.set(includesMultimedia);
}
}
/**
* Gets the "link_depth" element
*/
public int getLinkDepth()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINKDEPTH$4, 0);
if (target == null)
{
return 0;
}
return target.getIntValue();
}
}
/**
* Gets (as xml) the "link_depth" element
*/
public org.apache.xmlbeans.XmlInt xgetLinkDepth()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LINKDEPTH$4, 0);
return target;
}
}
/**
* Sets the "link_depth" element
*/
public void setLinkDepth(int linkDepth)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LINKDEPTH$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LINKDEPTH$4);
}
target.setIntValue(linkDepth);
}
}
/**
* Sets (as xml) the "link_depth" element
*/
public void xsetLinkDepth(org.apache.xmlbeans.XmlInt linkDepth)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlInt target = null;
target = (org.apache.xmlbeans.XmlInt)get_store().find_element_user(LINKDEPTH$4, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlInt)get_store().add_element_user(LINKDEPTH$4);
}
target.set(linkDepth);
}
}
/**
* Gets array of all "criteria" elements
*/
public org.openehr.schemas.v1.DVPARSABLE[] getCriteriaArray()
{
synchronized (monitor())
{
check_orphaned();
java.util.List targetList = new java.util.ArrayList();
get_store().find_all_element_users(CRITERIA$6, targetList);
org.openehr.schemas.v1.DVPARSABLE[] result = new org.openehr.schemas.v1.DVPARSABLE[targetList.size()];
targetList.toArray(result);
return result;
}
}
/**
* Gets ith "criteria" element
*/
public org.openehr.schemas.v1.DVPARSABLE getCriteriaArray(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVPARSABLE target = null;
target = (org.openehr.schemas.v1.DVPARSABLE)get_store().find_element_user(CRITERIA$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target;
}
}
/**
* Returns number of "criteria" element
*/
public int sizeOfCriteriaArray()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(CRITERIA$6);
}
}
/**
* Sets array of all "criteria" element
*/
public void setCriteriaArray(org.openehr.schemas.v1.DVPARSABLE[] criteriaArray)
{
synchronized (monitor())
{
check_orphaned();
arraySetterHelper(criteriaArray, CRITERIA$6);
}
}
/**
* Sets ith "criteria" element
*/
public void setCriteriaArray(int i, org.openehr.schemas.v1.DVPARSABLE criteria)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVPARSABLE target = null;
target = (org.openehr.schemas.v1.DVPARSABLE)get_store().find_element_user(CRITERIA$6, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
target.set(criteria);
}
}
/**
* Inserts and returns a new empty value (as xml) as the ith "criteria" element
*/
public org.openehr.schemas.v1.DVPARSABLE insertNewCriteria(int i)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVPARSABLE target = null;
target = (org.openehr.schemas.v1.DVPARSABLE)get_store().insert_element_user(CRITERIA$6, i);
return target;
}
}
/**
* Appends and returns a new empty value (as xml) as the last "criteria" element
*/
public org.openehr.schemas.v1.DVPARSABLE addNewCriteria()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.DVPARSABLE target = null;
target = (org.openehr.schemas.v1.DVPARSABLE)get_store().add_element_user(CRITERIA$6);
return target;
}
}
/**
* Removes the ith "criteria" element
*/
public void removeCriteria(int i)
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(CRITERIA$6, i);
}
}
/**
* Gets the "includes_directory" element
*/
public boolean getIncludesDirectory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INCLUDESDIRECTORY$8, 0);
if (target == null)
{
return false;
}
return target.getBooleanValue();
}
}
/**
* Gets (as xml) the "includes_directory" element
*/
public org.apache.xmlbeans.XmlBoolean xgetIncludesDirectory()
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INCLUDESDIRECTORY$8, 0);
return target;
}
}
/**
* Sets the "includes_directory" element
*/
public void setIncludesDirectory(boolean includesDirectory)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.SimpleValue target = null;
target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INCLUDESDIRECTORY$8, 0);
if (target == null)
{
target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(INCLUDESDIRECTORY$8);
}
target.setBooleanValue(includesDirectory);
}
}
/**
* Sets (as xml) the "includes_directory" element
*/
public void xsetIncludesDirectory(org.apache.xmlbeans.XmlBoolean includesDirectory)
{
synchronized (monitor())
{
check_orphaned();
org.apache.xmlbeans.XmlBoolean target = null;
target = (org.apache.xmlbeans.XmlBoolean)get_store().find_element_user(INCLUDESDIRECTORY$8, 0);
if (target == null)
{
target = (org.apache.xmlbeans.XmlBoolean)get_store().add_element_user(INCLUDESDIRECTORY$8);
}
target.set(includesDirectory);
}
}
/**
* Gets the "directory_archetype" element
*/
public org.openehr.schemas.v1.ARCHETYPEID getDirectoryArchetype()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ARCHETYPEID target = null;
target = (org.openehr.schemas.v1.ARCHETYPEID)get_store().find_element_user(DIRECTORYARCHETYPE$10, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "directory_archetype" element
*/
public boolean isSetDirectoryArchetype()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(DIRECTORYARCHETYPE$10) != 0;
}
}
/**
* Sets the "directory_archetype" element
*/
public void setDirectoryArchetype(org.openehr.schemas.v1.ARCHETYPEID directoryArchetype)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ARCHETYPEID target = null;
target = (org.openehr.schemas.v1.ARCHETYPEID)get_store().find_element_user(DIRECTORYARCHETYPE$10, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.ARCHETYPEID)get_store().add_element_user(DIRECTORYARCHETYPE$10);
}
target.set(directoryArchetype);
}
}
/**
* Appends and returns a new empty "directory_archetype" element
*/
public org.openehr.schemas.v1.ARCHETYPEID addNewDirectoryArchetype()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ARCHETYPEID target = null;
target = (org.openehr.schemas.v1.ARCHETYPEID)get_store().add_element_user(DIRECTORYARCHETYPE$10);
return target;
}
}
/**
* Unsets the "directory_archetype" element
*/
public void unsetDirectoryArchetype()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(DIRECTORYARCHETYPE$10, 0);
}
}
/**
* Gets the "other_details" element
*/
public org.openehr.schemas.v1.ITEMSTRUCTURE getOtherDetails()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMSTRUCTURE target = null;
target = (org.openehr.schemas.v1.ITEMSTRUCTURE)get_store().find_element_user(OTHERDETAILS$12, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "other_details" element
*/
public boolean isSetOtherDetails()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(OTHERDETAILS$12) != 0;
}
}
/**
* Sets the "other_details" element
*/
public void setOtherDetails(org.openehr.schemas.v1.ITEMSTRUCTURE otherDetails)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMSTRUCTURE target = null;
target = (org.openehr.schemas.v1.ITEMSTRUCTURE)get_store().find_element_user(OTHERDETAILS$12, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.ITEMSTRUCTURE)get_store().add_element_user(OTHERDETAILS$12);
}
target.set(otherDetails);
}
}
/**
* Appends and returns a new empty "other_details" element
*/
public org.openehr.schemas.v1.ITEMSTRUCTURE addNewOtherDetails()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.ITEMSTRUCTURE target = null;
target = (org.openehr.schemas.v1.ITEMSTRUCTURE)get_store().add_element_user(OTHERDETAILS$12);
return target;
}
}
/**
* Unsets the "other_details" element
*/
public void unsetOtherDetails()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(OTHERDETAILS$12, 0);
}
}
/**
* Gets the "version_spec" element
*/
public org.openehr.schemas.v1.EXTRACTVERSIONSPEC getVersionSpec()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTVERSIONSPEC target = null;
target = (org.openehr.schemas.v1.EXTRACTVERSIONSPEC)get_store().find_element_user(VERSIONSPEC$14, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* True if has "version_spec" element
*/
public boolean isSetVersionSpec()
{
synchronized (monitor())
{
check_orphaned();
return get_store().count_elements(VERSIONSPEC$14) != 0;
}
}
/**
* Sets the "version_spec" element
*/
public void setVersionSpec(org.openehr.schemas.v1.EXTRACTVERSIONSPEC versionSpec)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTVERSIONSPEC target = null;
target = (org.openehr.schemas.v1.EXTRACTVERSIONSPEC)get_store().find_element_user(VERSIONSPEC$14, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.EXTRACTVERSIONSPEC)get_store().add_element_user(VERSIONSPEC$14);
}
target.set(versionSpec);
}
}
/**
* Appends and returns a new empty "version_spec" element
*/
public org.openehr.schemas.v1.EXTRACTVERSIONSPEC addNewVersionSpec()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTVERSIONSPEC target = null;
target = (org.openehr.schemas.v1.EXTRACTVERSIONSPEC)get_store().add_element_user(VERSIONSPEC$14);
return target;
}
}
/**
* Unsets the "version_spec" element
*/
public void unsetVersionSpec()
{
synchronized (monitor())
{
check_orphaned();
get_store().remove_element(VERSIONSPEC$14, 0);
}
}
/**
* Gets the "manifest" element
*/
public org.openehr.schemas.v1.EXTRACTMANIFEST getManifest()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTMANIFEST target = null;
target = (org.openehr.schemas.v1.EXTRACTMANIFEST)get_store().find_element_user(MANIFEST$16, 0);
if (target == null)
{
return null;
}
return target;
}
}
/**
* Sets the "manifest" element
*/
public void setManifest(org.openehr.schemas.v1.EXTRACTMANIFEST manifest)
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTMANIFEST target = null;
target = (org.openehr.schemas.v1.EXTRACTMANIFEST)get_store().find_element_user(MANIFEST$16, 0);
if (target == null)
{
target = (org.openehr.schemas.v1.EXTRACTMANIFEST)get_store().add_element_user(MANIFEST$16);
}
target.set(manifest);
}
}
/**
* Appends and returns a new empty "manifest" element
*/
public org.openehr.schemas.v1.EXTRACTMANIFEST addNewManifest()
{
synchronized (monitor())
{
check_orphaned();
org.openehr.schemas.v1.EXTRACTMANIFEST target = null;
target = (org.openehr.schemas.v1.EXTRACTMANIFEST)get_store().add_element_user(MANIFEST$16);
return target;
}
}
}