Package openEHR.v1.template
Interface QuantityConstraint
-
- All Superinterfaces:
ValueConstraint,org.apache.xmlbeans.XmlObject,org.apache.xmlbeans.XmlTokenSource
- All Known Implementing Classes:
QuantityConstraintImpl
public interface QuantityConstraint extends ValueConstraint
An XML quantityConstraint(@openEHR/v1/Template). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQuantityConstraint.FactoryA factory class with static methods for creating instances of this type.
-
Field Summary
Fields Modifier and Type Field Description static org.apache.xmlbeans.SchemaTypetype
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExcludedUnits(String excludedUnits)Appends the value as the last "excludedUnits" elementvoidaddIncludedUnits(String includedUnits)Appends the value as the last "includedUnits" elementorg.apache.xmlbeans.XmlStringaddNewExcludedUnits()Appends and returns a new empty value (as xml) as the last "excludedUnits" elementorg.apache.xmlbeans.XmlStringaddNewIncludedUnits()Appends and returns a new empty value (as xml) as the last "includedUnits" elementQuantityUnitConstraintaddNewUnitMagnitude()Appends and returns a new empty value (as xml) as the last "unitMagnitude" elementString[]getExcludedUnitsArray()Gets array of all "excludedUnits" elementsStringgetExcludedUnitsArray(int i)Gets ith "excludedUnits" elementString[]getIncludedUnitsArray()Gets array of all "includedUnits" elementsStringgetIncludedUnitsArray(int i)Gets ith "includedUnits" elementQuantityUnitConstraint[]getUnitMagnitudeArray()Gets array of all "unitMagnitude" elementsQuantityUnitConstraintgetUnitMagnitudeArray(int i)Gets ith "unitMagnitude" elementvoidinsertExcludedUnits(int i, String excludedUnits)Inserts the value as the ith "excludedUnits" elementvoidinsertIncludedUnits(int i, String includedUnits)Inserts the value as the ith "includedUnits" elementorg.apache.xmlbeans.XmlStringinsertNewExcludedUnits(int i)Inserts and returns a new empty value (as xml) as the ith "excludedUnits" elementorg.apache.xmlbeans.XmlStringinsertNewIncludedUnits(int i)Inserts and returns a new empty value (as xml) as the ith "includedUnits" elementQuantityUnitConstraintinsertNewUnitMagnitude(int i)Inserts and returns a new empty value (as xml) as the ith "unitMagnitude" elementvoidremoveExcludedUnits(int i)Removes the ith "excludedUnits" elementvoidremoveIncludedUnits(int i)Removes the ith "includedUnits" elementvoidremoveUnitMagnitude(int i)Removes the ith "unitMagnitude" elementvoidsetExcludedUnitsArray(int i, String excludedUnits)Sets ith "excludedUnits" elementvoidsetExcludedUnitsArray(String[] excludedUnitsArray)Sets array of all "excludedUnits" elementvoidsetIncludedUnitsArray(int i, String includedUnits)Sets ith "includedUnits" elementvoidsetIncludedUnitsArray(String[] includedUnitsArray)Sets array of all "includedUnits" elementvoidsetUnitMagnitudeArray(int i, QuantityUnitConstraint unitMagnitude)Sets ith "unitMagnitude" elementvoidsetUnitMagnitudeArray(QuantityUnitConstraint[] unitMagnitudeArray)Sets array of all "unitMagnitude" elementintsizeOfExcludedUnitsArray()Returns number of "excludedUnits" elementintsizeOfIncludedUnitsArray()Returns number of "includedUnits" elementintsizeOfUnitMagnitudeArray()Returns number of "unitMagnitude" elementorg.apache.xmlbeans.XmlString[]xgetExcludedUnitsArray()Gets (as xml) array of all "excludedUnits" elementsorg.apache.xmlbeans.XmlStringxgetExcludedUnitsArray(int i)Gets (as xml) ith "excludedUnits" elementorg.apache.xmlbeans.XmlString[]xgetIncludedUnitsArray()Gets (as xml) array of all "includedUnits" elementsorg.apache.xmlbeans.XmlStringxgetIncludedUnitsArray(int i)Gets (as xml) ith "includedUnits" elementvoidxsetExcludedUnitsArray(int i, org.apache.xmlbeans.XmlString excludedUnits)Sets (as xml) ith "excludedUnits" elementvoidxsetExcludedUnitsArray(org.apache.xmlbeans.XmlString[] excludedUnitsArray)Sets (as xml) array of all "excludedUnits" elementvoidxsetIncludedUnitsArray(int i, org.apache.xmlbeans.XmlString includedUnits)Sets (as xml) ith "includedUnits" elementvoidxsetIncludedUnitsArray(org.apache.xmlbeans.XmlString[] includedUnitsArray)Sets (as xml) array of all "includedUnits" element-
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Method Detail
-
getIncludedUnitsArray
String[] getIncludedUnitsArray()
Gets array of all "includedUnits" elements
-
getIncludedUnitsArray
String getIncludedUnitsArray(int i)
Gets ith "includedUnits" element
-
xgetIncludedUnitsArray
org.apache.xmlbeans.XmlString[] xgetIncludedUnitsArray()
Gets (as xml) array of all "includedUnits" elements
-
xgetIncludedUnitsArray
org.apache.xmlbeans.XmlString xgetIncludedUnitsArray(int i)
Gets (as xml) ith "includedUnits" element
-
sizeOfIncludedUnitsArray
int sizeOfIncludedUnitsArray()
Returns number of "includedUnits" element
-
setIncludedUnitsArray
void setIncludedUnitsArray(String[] includedUnitsArray)
Sets array of all "includedUnits" element
-
setIncludedUnitsArray
void setIncludedUnitsArray(int i, String includedUnits)Sets ith "includedUnits" element
-
xsetIncludedUnitsArray
void xsetIncludedUnitsArray(org.apache.xmlbeans.XmlString[] includedUnitsArray)
Sets (as xml) array of all "includedUnits" element
-
xsetIncludedUnitsArray
void xsetIncludedUnitsArray(int i, org.apache.xmlbeans.XmlString includedUnits)Sets (as xml) ith "includedUnits" element
-
insertIncludedUnits
void insertIncludedUnits(int i, String includedUnits)Inserts the value as the ith "includedUnits" element
-
addIncludedUnits
void addIncludedUnits(String includedUnits)
Appends the value as the last "includedUnits" element
-
insertNewIncludedUnits
org.apache.xmlbeans.XmlString insertNewIncludedUnits(int i)
Inserts and returns a new empty value (as xml) as the ith "includedUnits" element
-
addNewIncludedUnits
org.apache.xmlbeans.XmlString addNewIncludedUnits()
Appends and returns a new empty value (as xml) as the last "includedUnits" element
-
removeIncludedUnits
void removeIncludedUnits(int i)
Removes the ith "includedUnits" element
-
getExcludedUnitsArray
String[] getExcludedUnitsArray()
Gets array of all "excludedUnits" elements
-
getExcludedUnitsArray
String getExcludedUnitsArray(int i)
Gets ith "excludedUnits" element
-
xgetExcludedUnitsArray
org.apache.xmlbeans.XmlString[] xgetExcludedUnitsArray()
Gets (as xml) array of all "excludedUnits" elements
-
xgetExcludedUnitsArray
org.apache.xmlbeans.XmlString xgetExcludedUnitsArray(int i)
Gets (as xml) ith "excludedUnits" element
-
sizeOfExcludedUnitsArray
int sizeOfExcludedUnitsArray()
Returns number of "excludedUnits" element
-
setExcludedUnitsArray
void setExcludedUnitsArray(String[] excludedUnitsArray)
Sets array of all "excludedUnits" element
-
setExcludedUnitsArray
void setExcludedUnitsArray(int i, String excludedUnits)Sets ith "excludedUnits" element
-
xsetExcludedUnitsArray
void xsetExcludedUnitsArray(org.apache.xmlbeans.XmlString[] excludedUnitsArray)
Sets (as xml) array of all "excludedUnits" element
-
xsetExcludedUnitsArray
void xsetExcludedUnitsArray(int i, org.apache.xmlbeans.XmlString excludedUnits)Sets (as xml) ith "excludedUnits" element
-
insertExcludedUnits
void insertExcludedUnits(int i, String excludedUnits)Inserts the value as the ith "excludedUnits" element
-
addExcludedUnits
void addExcludedUnits(String excludedUnits)
Appends the value as the last "excludedUnits" element
-
insertNewExcludedUnits
org.apache.xmlbeans.XmlString insertNewExcludedUnits(int i)
Inserts and returns a new empty value (as xml) as the ith "excludedUnits" element
-
addNewExcludedUnits
org.apache.xmlbeans.XmlString addNewExcludedUnits()
Appends and returns a new empty value (as xml) as the last "excludedUnits" element
-
removeExcludedUnits
void removeExcludedUnits(int i)
Removes the ith "excludedUnits" element
-
getUnitMagnitudeArray
QuantityUnitConstraint[] getUnitMagnitudeArray()
Gets array of all "unitMagnitude" elements
-
getUnitMagnitudeArray
QuantityUnitConstraint getUnitMagnitudeArray(int i)
Gets ith "unitMagnitude" element
-
sizeOfUnitMagnitudeArray
int sizeOfUnitMagnitudeArray()
Returns number of "unitMagnitude" element
-
setUnitMagnitudeArray
void setUnitMagnitudeArray(QuantityUnitConstraint[] unitMagnitudeArray)
Sets array of all "unitMagnitude" element
-
setUnitMagnitudeArray
void setUnitMagnitudeArray(int i, QuantityUnitConstraint unitMagnitude)Sets ith "unitMagnitude" element
-
insertNewUnitMagnitude
QuantityUnitConstraint insertNewUnitMagnitude(int i)
Inserts and returns a new empty value (as xml) as the ith "unitMagnitude" element
-
addNewUnitMagnitude
QuantityUnitConstraint addNewUnitMagnitude()
Appends and returns a new empty value (as xml) as the last "unitMagnitude" element
-
removeUnitMagnitude
void removeUnitMagnitude(int i)
Removes the ith "unitMagnitude" element
-
-