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

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

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


/**
 * An XML quantityConstraint(@openEHR/v1/Template).
 *
 * This is a complex type.
 */
public interface QuantityConstraint extends openEHR.v1.template.ValueConstraint
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(QuantityConstraint.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sADF9D9697439DFAA95C3BAFDA11C5681").resolveHandle("quantityconstraint6055type");
    
    /**
     * Gets array of all "includedUnits" elements
     */
    java.lang.String[] getIncludedUnitsArray();
    
    /**
     * Gets ith "includedUnits" element
     */
    java.lang.String getIncludedUnitsArray(int i);
    
    /**
     * Gets (as xml) array of all "includedUnits" elements
     */
    org.apache.xmlbeans.XmlString[] xgetIncludedUnitsArray();
    
    /**
     * Gets (as xml) ith "includedUnits" element
     */
    org.apache.xmlbeans.XmlString xgetIncludedUnitsArray(int i);
    
    /**
     * Returns number of "includedUnits" element
     */
    int sizeOfIncludedUnitsArray();
    
    /**
     * Sets array of all "includedUnits" element
     */
    void setIncludedUnitsArray(java.lang.String[] includedUnitsArray);
    
    /**
     * Sets ith "includedUnits" element
     */
    void setIncludedUnitsArray(int i, java.lang.String includedUnits);
    
    /**
     * Sets (as xml) array of all "includedUnits" element
     */
    void xsetIncludedUnitsArray(org.apache.xmlbeans.XmlString[] includedUnitsArray);
    
    /**
     * Sets (as xml) ith "includedUnits" element
     */
    void xsetIncludedUnitsArray(int i, org.apache.xmlbeans.XmlString includedUnits);
    
    /**
     * Inserts the value as the ith "includedUnits" element
     */
    void insertIncludedUnits(int i, java.lang.String includedUnits);
    
    /**
     * Appends the value as the last "includedUnits" element
     */
    void addIncludedUnits(java.lang.String includedUnits);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "includedUnits" element
     */
    org.apache.xmlbeans.XmlString insertNewIncludedUnits(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "includedUnits" element
     */
    org.apache.xmlbeans.XmlString addNewIncludedUnits();
    
    /**
     * Removes the ith "includedUnits" element
     */
    void removeIncludedUnits(int i);
    
    /**
     * Gets array of all "excludedUnits" elements
     */
    java.lang.String[] getExcludedUnitsArray();
    
    /**
     * Gets ith "excludedUnits" element
     */
    java.lang.String getExcludedUnitsArray(int i);
    
    /**
     * Gets (as xml) array of all "excludedUnits" elements
     */
    org.apache.xmlbeans.XmlString[] xgetExcludedUnitsArray();
    
    /**
     * Gets (as xml) ith "excludedUnits" element
     */
    org.apache.xmlbeans.XmlString xgetExcludedUnitsArray(int i);
    
    /**
     * Returns number of "excludedUnits" element
     */
    int sizeOfExcludedUnitsArray();
    
    /**
     * Sets array of all "excludedUnits" element
     */
    void setExcludedUnitsArray(java.lang.String[] excludedUnitsArray);
    
    /**
     * Sets ith "excludedUnits" element
     */
    void setExcludedUnitsArray(int i, java.lang.String excludedUnits);
    
    /**
     * Sets (as xml) array of all "excludedUnits" element
     */
    void xsetExcludedUnitsArray(org.apache.xmlbeans.XmlString[] excludedUnitsArray);
    
    /**
     * Sets (as xml) ith "excludedUnits" element
     */
    void xsetExcludedUnitsArray(int i, org.apache.xmlbeans.XmlString excludedUnits);
    
    /**
     * Inserts the value as the ith "excludedUnits" element
     */
    void insertExcludedUnits(int i, java.lang.String excludedUnits);
    
    /**
     * Appends the value as the last "excludedUnits" element
     */
    void addExcludedUnits(java.lang.String excludedUnits);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "excludedUnits" element
     */
    org.apache.xmlbeans.XmlString insertNewExcludedUnits(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "excludedUnits" element
     */
    org.apache.xmlbeans.XmlString addNewExcludedUnits();
    
    /**
     * Removes the ith "excludedUnits" element
     */
    void removeExcludedUnits(int i);
    
    /**
     * Gets array of all "unitMagnitude" elements
     */
    openEHR.v1.template.QuantityUnitConstraint[] getUnitMagnitudeArray();
    
    /**
     * Gets ith "unitMagnitude" element
     */
    openEHR.v1.template.QuantityUnitConstraint getUnitMagnitudeArray(int i);
    
    /**
     * Returns number of "unitMagnitude" element
     */
    int sizeOfUnitMagnitudeArray();
    
    /**
     * Sets array of all "unitMagnitude" element
     */
    void setUnitMagnitudeArray(openEHR.v1.template.QuantityUnitConstraint[] unitMagnitudeArray);
    
    /**
     * Sets ith "unitMagnitude" element
     */
    void setUnitMagnitudeArray(int i, openEHR.v1.template.QuantityUnitConstraint unitMagnitude);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "unitMagnitude" element
     */
    openEHR.v1.template.QuantityUnitConstraint insertNewUnitMagnitude(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "unitMagnitude" element
     */
    openEHR.v1.template.QuantityUnitConstraint addNewUnitMagnitude();
    
    /**
     * Removes the ith "unitMagnitude" element
     */
    void removeUnitMagnitude(int i);
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static openEHR.v1.template.QuantityConstraint newInstance() {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static openEHR.v1.template.QuantityConstraint parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) 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.QuantityConstraint parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static openEHR.v1.template.QuantityConstraint parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static openEHR.v1.template.QuantityConstraint parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (openEHR.v1.template.QuantityConstraint) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static openEHR.v1.template.QuantityConstraint 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.QuantityConstraint) 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