Class DVQUANTITYImpl

java.lang.Object
org.apache.xmlbeans.impl.values.XmlObjectBase
All Implemented Interfaces:
Serializable, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource, DATAVALUE, DVAMOUNT, DVORDERED, DVQUANTIFIED, DVQUANTITY

public class DVQUANTITYImpl extends DVAMOUNTImpl implements DVQUANTITY
An XML DV_QUANTITY(@http://schemas.openehr.org/v1). This is a complex type.
See Also:
  • Constructor Details

    • DVQUANTITYImpl

      public DVQUANTITYImpl(org.apache.xmlbeans.SchemaType sType)
  • Method Details

    • getMagnitude

      public double getMagnitude()
      Gets the "magnitude" element
      Specified by:
      getMagnitude in interface DVQUANTITY
    • xgetMagnitude

      public org.apache.xmlbeans.XmlDouble xgetMagnitude()
      Gets (as xml) the "magnitude" element
      Specified by:
      xgetMagnitude in interface DVQUANTITY
    • setMagnitude

      public void setMagnitude(double magnitude)
      Sets the "magnitude" element
      Specified by:
      setMagnitude in interface DVQUANTITY
    • xsetMagnitude

      public void xsetMagnitude(org.apache.xmlbeans.XmlDouble magnitude)
      Sets (as xml) the "magnitude" element
      Specified by:
      xsetMagnitude in interface DVQUANTITY
    • getUnits

      public String getUnits()
      Gets the "units" element
      Specified by:
      getUnits in interface DVQUANTITY
    • xgetUnits

      public org.apache.xmlbeans.XmlString xgetUnits()
      Gets (as xml) the "units" element
      Specified by:
      xgetUnits in interface DVQUANTITY
    • setUnits

      public void setUnits(String units)
      Sets the "units" element
      Specified by:
      setUnits in interface DVQUANTITY
    • xsetUnits

      public void xsetUnits(org.apache.xmlbeans.XmlString units)
      Sets (as xml) the "units" element
      Specified by:
      xsetUnits in interface DVQUANTITY
    • getPrecision

      public int getPrecision()
      Gets the "precision" element
      Specified by:
      getPrecision in interface DVQUANTITY
    • xgetPrecision

      public org.apache.xmlbeans.XmlInt xgetPrecision()
      Gets (as xml) the "precision" element
      Specified by:
      xgetPrecision in interface DVQUANTITY
    • isSetPrecision

      public boolean isSetPrecision()
      True if has "precision" element
      Specified by:
      isSetPrecision in interface DVQUANTITY
    • setPrecision

      public void setPrecision(int precision)
      Sets the "precision" element
      Specified by:
      setPrecision in interface DVQUANTITY
    • xsetPrecision

      public void xsetPrecision(org.apache.xmlbeans.XmlInt precision)
      Sets (as xml) the "precision" element
      Specified by:
      xsetPrecision in interface DVQUANTITY
    • unsetPrecision

      public void unsetPrecision()
      Unsets the "precision" element
      Specified by:
      unsetPrecision in interface DVQUANTITY