Class Metric

  • All Implemented Interfaces:
    Serializable, org.apache.axis2.databinding.ADBBean

    public class Metric
    extends Object
    implements org.apache.axis2.databinding.ADBBean
    Metric bean class
    See Also:
    Serialized Form
    • Field Detail

      • localUnit

        protected String localUnit
        field for Unit
      • localUnitTracker

        protected boolean localUnitTracker
      • localValue

        protected double localValue
        field for Value
      • localValueTracker

        protected boolean localValueTracker
    • Constructor Detail

      • Metric

        public Metric()
    • Method Detail

      • isUnitSpecified

        public boolean isUnitSpecified()
      • getUnit

        public String getUnit()
        Auto generated getter method
        Returns:
        java.lang.String
      • setUnit

        public void setUnit​(String param)
        Auto generated setter method
        Parameters:
        param - Unit
      • isValueSpecified

        public boolean isValueSpecified()
      • getValue

        public double getValue()
        Auto generated getter method
        Returns:
        double
      • setValue

        public void setValue​(double param)
        Auto generated setter method
        Parameters:
        param - Value
      • getOMElement

        public org.apache.axiom.om.OMElement getOMElement​(QName parentQName,
                                                          org.apache.axiom.om.OMFactory factory)
                                                   throws org.apache.axis2.databinding.ADBException
        Specified by:
        getOMElement in interface org.apache.axis2.databinding.ADBBean
        Parameters:
        parentQName -
        factory -
        Returns:
        org.apache.axiom.om.OMElement
        Throws:
        org.apache.axis2.databinding.ADBException
      • serialize

        public void serialize​(QName parentQName,
                              XMLStreamWriter xmlWriter)
                       throws XMLStreamException,
                              org.apache.axis2.databinding.ADBException
        Specified by:
        serialize in interface org.apache.axis2.databinding.ADBBean
        Throws:
        XMLStreamException
        org.apache.axis2.databinding.ADBException
      • serialize

        public void serialize​(QName parentQName,
                              XMLStreamWriter xmlWriter,
                              boolean serializeType)
                       throws XMLStreamException,
                              org.apache.axis2.databinding.ADBException
        Specified by:
        serialize in interface org.apache.axis2.databinding.ADBBean
        Throws:
        XMLStreamException
        org.apache.axis2.databinding.ADBException
      • getPullParser

        public XMLStreamReader getPullParser​(QName qName)
                                      throws org.apache.axis2.databinding.ADBException
        databinding method to get an XML representation of this object
        Specified by:
        getPullParser in interface org.apache.axis2.databinding.ADBBean
        Throws:
        org.apache.axis2.databinding.ADBException