openEHR.v1.template.EVENTCONTEXT Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oet-parser Show documentation
Show all versions of oet-parser Show documentation
Java implementation of openEHR OET Template Parser and Flattener
The newest version!
/*
* XML Type: EVENT_CONTEXT
* Namespace: openEHR/v1/Template
* Java type: openEHR.v1.template.EVENTCONTEXT
*
* Automatically generated - do not modify.
*/
package openEHR.v1.template;
/**
* An XML EVENT_CONTEXT(@openEHR/v1/Template).
*
* This is a complex type.
*/
public interface EVENTCONTEXT extends org.apache.xmlbeans.XmlObject
{
public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EVENTCONTEXT.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sADF9D9697439DFAA95C3BAFDA11C5681").resolveHandle("eventcontext6265type");
/**
* Gets the "OtherContext" element
*/
openEHR.v1.template.ITEMSTRUCTURE getOtherContext();
/**
* True if has "OtherContext" element
*/
boolean isSetOtherContext();
/**
* Sets the "OtherContext" element
*/
void setOtherContext(openEHR.v1.template.ITEMSTRUCTURE otherContext);
/**
* Appends and returns a new empty "OtherContext" element
*/
openEHR.v1.template.ITEMSTRUCTURE addNewOtherContext();
/**
* Unsets the "OtherContext" element
*/
void unsetOtherContext();
/**
* Gets array of all "participation" elements
*/
openEHR.v1.template.PARTICIPATION[] getParticipationArray();
/**
* Gets ith "participation" element
*/
openEHR.v1.template.PARTICIPATION getParticipationArray(int i);
/**
* Returns number of "participation" element
*/
int sizeOfParticipationArray();
/**
* Sets array of all "participation" element
*/
void setParticipationArray(openEHR.v1.template.PARTICIPATION[] participationArray);
/**
* Sets ith "participation" element
*/
void setParticipationArray(int i, openEHR.v1.template.PARTICIPATION participation);
/**
* Inserts and returns a new empty value (as xml) as the ith "participation" element
*/
openEHR.v1.template.PARTICIPATION insertNewParticipation(int i);
/**
* Appends and returns a new empty value (as xml) as the last "participation" element
*/
openEHR.v1.template.PARTICIPATION addNewParticipation();
/**
* Removes the ith "participation" element
*/
void removeParticipation(int i);
/**
* Gets array of all "Items" elements
*/
openEHR.v1.template.ITEM[] getItemsArray();
/**
* Gets ith "Items" element
*/
openEHR.v1.template.ITEM getItemsArray(int i);
/**
* Returns number of "Items" element
*/
int sizeOfItemsArray();
/**
* Sets array of all "Items" element
*/
void setItemsArray(openEHR.v1.template.ITEM[] itemsArray);
/**
* Sets ith "Items" element
*/
void setItemsArray(int i, openEHR.v1.template.ITEM items);
/**
* Inserts and returns a new empty value (as xml) as the ith "Items" element
*/
openEHR.v1.template.ITEM insertNewItems(int i);
/**
* Appends and returns a new empty value (as xml) as the last "Items" element
*/
openEHR.v1.template.ITEM addNewItems();
/**
* Removes the ith "Items" element
*/
void removeItems(int i);
/**
* Gets array of all "Rule" elements
*/
openEHR.v1.template.Statement[] getRuleArray();
/**
* Gets ith "Rule" element
*/
openEHR.v1.template.Statement getRuleArray(int i);
/**
* Returns number of "Rule" element
*/
int sizeOfRuleArray();
/**
* Sets array of all "Rule" element
*/
void setRuleArray(openEHR.v1.template.Statement[] ruleArray);
/**
* Sets ith "Rule" element
*/
void setRuleArray(int i, openEHR.v1.template.Statement rule);
/**
* Inserts and returns a new empty value (as xml) as the ith "Rule" element
*/
openEHR.v1.template.Statement insertNewRule(int i);
/**
* Appends and returns a new empty value (as xml) as the last "Rule" element
*/
openEHR.v1.template.Statement addNewRule();
/**
* Removes the ith "Rule" element
*/
void removeRule(int i);
/**
* Gets the "annotation" attribute
*/
java.lang.String getAnnotation();
/**
* Gets (as xml) the "annotation" attribute
*/
org.apache.xmlbeans.XmlString xgetAnnotation();
/**
* True if has "annotation" attribute
*/
boolean isSetAnnotation();
/**
* Sets the "annotation" attribute
*/
void setAnnotation(java.lang.String annotation);
/**
* Sets (as xml) the "annotation" attribute
*/
void xsetAnnotation(org.apache.xmlbeans.XmlString annotation);
/**
* Unsets the "annotation" attribute
*/
void unsetAnnotation();
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static openEHR.v1.template.EVENTCONTEXT newInstance() {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static openEHR.v1.template.EVENTCONTEXT newInstance(org.apache.xmlbeans.XmlOptions options) {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static openEHR.v1.template.EVENTCONTEXT parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static openEHR.v1.template.EVENTCONTEXT parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static openEHR.v1.template.EVENTCONTEXT parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static openEHR.v1.template.EVENTCONTEXT parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static openEHR.v1.template.EVENTCONTEXT parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static openEHR.v1.template.EVENTCONTEXT parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (openEHR.v1.template.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
private Factory() { } // No instance of this class allowed
}
}