Class Measurement

  • All Implemented Interfaces:
    Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2

    public class Measurement
    extends Object
    implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.ToString2
    Measurement describes a measurement and is used only for stateful object attributes that do not have a reference to a descriptor object. Example: Weight of a patient.

    Java class for Measurement complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="Measurement">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element ref="{http://standards.ieee.org/downloads/11073/11073-10207-2017/extension}Extension" minOccurs="0"/>
             <element name="MeasurementUnit" type="{http://standards.ieee.org/downloads/11073/11073-10207-2017/participant}CodedValue"/>
           </sequence>
           <attribute name="MeasuredValue" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Measurement

        public Measurement()
    • Method Detail

      • getExtension

        public ExtensionType getExtension()
        Gets the value of the extension property.
        Returns:
        possible object is ExtensionType
      • setExtension

        public void setExtension​(ExtensionType value)
        Sets the value of the extension property.
        Parameters:
        value - allowed object is ExtensionType
      • getMeasurementUnit

        public CodedValue getMeasurementUnit()
        Gets the value of the measurementUnit property.
        Returns:
        possible object is CodedValue
      • setMeasurementUnit

        public void setMeasurementUnit​(CodedValue value)
        Sets the value of the measurementUnit property.
        Parameters:
        value - allowed object is CodedValue
      • getMeasuredValue

        public BigDecimal getMeasuredValue()
        Gets the value of the measuredValue property.
        Returns:
        possible object is BigDecimal
      • setMeasuredValue

        public void setMeasuredValue​(BigDecimal value)
        Sets the value of the measuredValue property.
        Parameters:
        value - allowed object is BigDecimal
      • copyTo

        public Object copyTo​(Object target)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • copyTo

        public Object copyTo​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                             Object target,
                             org.jvnet.jaxb2_commons.lang.CopyStrategy2 strategy)
        Specified by:
        copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • createNewInstance

        public Object createNewInstance()
        Specified by:
        createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • append

        public StringBuilder append​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                    StringBuilder buffer,
                                    org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        append in interface org.jvnet.jaxb2_commons.lang.ToString2
      • appendFields

        public StringBuilder appendFields​(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                          StringBuilder buffer,
                                          org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
        Specified by:
        appendFields in interface org.jvnet.jaxb2_commons.lang.ToString2