Save This Page
Home » openjdk-7 » javax » management » [javadoc | source]
javax.management
class: NumericValueExp [javadoc | source]
java.lang.Object
   javax.management.QueryEval
      javax.management.NumericValueExp

All Implemented Interfaces:
    ValueExp, Serializable

This class represents numbers that are arguments to relational constraints. A NumericValueExp may be used anywhere a ValueExp is required.

The serialVersionUID of this class is -4679739485102359104L.

Constructor:
 public NumericValueExp() 
 NumericValueExp(Number val) 
    Creates a new NumericValue representing the numeric literal .
Method from javax.management.NumericValueExp Summary:
apply,   doubleValue,   isLong,   longValue,   setMBeanServer,   toString
Methods from javax.management.QueryEval:
getMBeanServer,   setMBeanServer,   toQueryString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.management.NumericValueExp Detail:
 public ValueExp apply(ObjectName name) throws InvalidApplicationException, BadBinaryOpValueExpException, BadStringOperationException, BadAttributeValueExpException 
    Applies the ValueExp on a MBean.
 public double doubleValue() 
    Returns a double numeric value
 public boolean isLong() 
    Returns true is if the numeric value is a long, false otherwise.
 public long longValue() 
    Returns a long numeric value
 public  void setMBeanServer(MBeanServer s) 
 public String toString() 
    Returns the string representing the object