All Downloads are FREE. Search and download functionalities are using the official Maven repository.

openEHR.v1.template.COMPOSITION Maven / Gradle / Ivy

The newest version!
/*
 * XML Type:  COMPOSITION
 * Namespace: openEHR/v1/Template
 * Java type: openEHR.v1.template.COMPOSITION
 *
 * Automatically generated - do not modify.
 */
package openEHR.v1.template;


/**
 * An XML COMPOSITION(@openEHR/v1/Template).
 *
 * This is a complex type.
 */
public interface COMPOSITION extends openEHR.v1.template.Archetyped
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(COMPOSITION.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sADF9D9697439DFAA95C3BAFDA11C5681").resolveHandle("composition98e5type");
    
    /**
     * Gets array of all "Content" elements
     */
    openEHR.v1.template.ContentItem[] getContentArray();
    
    /**
     * Gets ith "Content" element
     */
    openEHR.v1.template.ContentItem getContentArray(int i);
    
    /**
     * Returns number of "Content" element
     */
    int sizeOfContentArray();
    
    /**
     * Sets array of all "Content" element
     */
    void setContentArray(openEHR.v1.template.ContentItem[] contentArray);
    
    /**
     * Sets ith "Content" element
     */
    void setContentArray(int i, openEHR.v1.template.ContentItem content);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "Content" element
     */
    openEHR.v1.template.ContentItem insertNewContent(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "Content" element
     */
    openEHR.v1.template.ContentItem addNewContent();
    
    /**
     * Removes the ith "Content" element
     */
    void removeContent(int i);
    
    /**
     * Gets the "Context" element
     */
    openEHR.v1.template.EVENTCONTEXT getContext();
    
    /**
     * True if has "Context" element
     */
    boolean isSetContext();
    
    /**
     * Sets the "Context" element
     */
    void setContext(openEHR.v1.template.EVENTCONTEXT context);
    
    /**
     * Appends and returns a new empty "Context" element
     */
    openEHR.v1.template.EVENTCONTEXT addNewContext();
    
    /**
     * Unsets the "Context" element
     */
    void unsetContext();
    
    /**
     * 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 "name" attribute
     */
    java.lang.String getName();
    
    /**
     * Gets (as xml) the "name" attribute
     */
    org.apache.xmlbeans.XmlString xgetName();
    
    /**
     * True if has "name" attribute
     */
    boolean isSetName();
    
    /**
     * Sets the "name" attribute
     */
    void setName(java.lang.String name);
    
    /**
     * Sets (as xml) the "name" attribute
     */
    void xsetName(org.apache.xmlbeans.XmlString name);
    
    /**
     * Unsets the "name" attribute
     */
    void unsetName();
    
    /**
     * 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.COMPOSITION newInstance() {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static openEHR.v1.template.COMPOSITION newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static openEHR.v1.template.COMPOSITION parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) 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.COMPOSITION parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static openEHR.v1.template.COMPOSITION parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static openEHR.v1.template.COMPOSITION parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static openEHR.v1.template.COMPOSITION parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static openEHR.v1.template.COMPOSITION parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (openEHR.v1.template.COMPOSITION) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static openEHR.v1.template.COMPOSITION 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.COMPOSITION) 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
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy