org.openehr.schemas.v1.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: http://schemas.openehr.org/v1
* Java type: org.openehr.schemas.v1.EVENTCONTEXT
*
* Automatically generated - do not modify.
*/
package org.openehr.schemas.v1;
/**
* An XML EVENT_CONTEXT(@http://schemas.openehr.org/v1).
*
* 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("eventcontextc9fetype");
/**
* Gets the "start_time" element
*/
org.openehr.schemas.v1.DVDATETIME getStartTime();
/**
* Sets the "start_time" element
*/
void setStartTime(org.openehr.schemas.v1.DVDATETIME startTime);
/**
* Appends and returns a new empty "start_time" element
*/
org.openehr.schemas.v1.DVDATETIME addNewStartTime();
/**
* Gets the "end_time" element
*/
org.openehr.schemas.v1.DVDATETIME getEndTime();
/**
* True if has "end_time" element
*/
boolean isSetEndTime();
/**
* Sets the "end_time" element
*/
void setEndTime(org.openehr.schemas.v1.DVDATETIME endTime);
/**
* Appends and returns a new empty "end_time" element
*/
org.openehr.schemas.v1.DVDATETIME addNewEndTime();
/**
* Unsets the "end_time" element
*/
void unsetEndTime();
/**
* Gets the "location" element
*/
java.lang.String getLocation();
/**
* Gets (as xml) the "location" element
*/
org.apache.xmlbeans.XmlString xgetLocation();
/**
* True if has "location" element
*/
boolean isSetLocation();
/**
* Sets the "location" element
*/
void setLocation(java.lang.String location);
/**
* Sets (as xml) the "location" element
*/
void xsetLocation(org.apache.xmlbeans.XmlString location);
/**
* Unsets the "location" element
*/
void unsetLocation();
/**
* Gets the "setting" element
*/
org.openehr.schemas.v1.DVCODEDTEXT getSetting();
/**
* Sets the "setting" element
*/
void setSetting(org.openehr.schemas.v1.DVCODEDTEXT setting);
/**
* Appends and returns a new empty "setting" element
*/
org.openehr.schemas.v1.DVCODEDTEXT addNewSetting();
/**
* Gets the "other_context" element
*/
org.openehr.schemas.v1.ITEMSTRUCTURE getOtherContext();
/**
* True if has "other_context" element
*/
boolean isSetOtherContext();
/**
* Sets the "other_context" element
*/
void setOtherContext(org.openehr.schemas.v1.ITEMSTRUCTURE otherContext);
/**
* Appends and returns a new empty "other_context" element
*/
org.openehr.schemas.v1.ITEMSTRUCTURE addNewOtherContext();
/**
* Unsets the "other_context" element
*/
void unsetOtherContext();
/**
* Gets the "health_care_facility" element
*/
org.openehr.schemas.v1.PARTYIDENTIFIED getHealthCareFacility();
/**
* True if has "health_care_facility" element
*/
boolean isSetHealthCareFacility();
/**
* Sets the "health_care_facility" element
*/
void setHealthCareFacility(org.openehr.schemas.v1.PARTYIDENTIFIED healthCareFacility);
/**
* Appends and returns a new empty "health_care_facility" element
*/
org.openehr.schemas.v1.PARTYIDENTIFIED addNewHealthCareFacility();
/**
* Unsets the "health_care_facility" element
*/
void unsetHealthCareFacility();
/**
* Gets array of all "participations" elements
*/
org.openehr.schemas.v1.PARTICIPATION[] getParticipationsArray();
/**
* Gets ith "participations" element
*/
org.openehr.schemas.v1.PARTICIPATION getParticipationsArray(int i);
/**
* Returns number of "participations" element
*/
int sizeOfParticipationsArray();
/**
* Sets array of all "participations" element
*/
void setParticipationsArray(org.openehr.schemas.v1.PARTICIPATION[] participationsArray);
/**
* Sets ith "participations" element
*/
void setParticipationsArray(int i, org.openehr.schemas.v1.PARTICIPATION participations);
/**
* Inserts and returns a new empty value (as xml) as the ith "participations" element
*/
org.openehr.schemas.v1.PARTICIPATION insertNewParticipations(int i);
/**
* Appends and returns a new empty value (as xml) as the last "participations" element
*/
org.openehr.schemas.v1.PARTICIPATION addNewParticipations();
/**
* Removes the ith "participations" element
*/
void removeParticipations(int i);
/**
* A factory class with static methods for creating instances
* of this type.
*/
public static final class Factory
{
public static org.openehr.schemas.v1.EVENTCONTEXT newInstance() {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT newInstance(org.apache.xmlbeans.XmlOptions options) {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
/** @param xmlAsString the string value to parse */
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
/** @param file the file from which to load an xml document */
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
public static org.openehr.schemas.v1.EVENTCONTEXT parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.openehr.schemas.v1.EVENTCONTEXT parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
return (org.openehr.schemas.v1.EVENTCONTEXT) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
/** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
public static org.openehr.schemas.v1.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 (org.openehr.schemas.v1.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
}
}