org.huihoo.jfox.jmx.queries
Class MinusOpValueExp

java.lang.Object
  |
  +--javax.management.QueryEval
        |
        +--org.huihoo.jfox.jmx.queries.MinusOpValueExp
All Implemented Interfaces:
java.io.Serializable, ValueExp

public class MinusOpValueExp
extends QueryEval
implements ValueExp

Author:
Young Yang
See Also:
Serialized Form

Fields inherited from class javax.management.QueryEval
server
 
Constructor Summary
MinusOpValueExp(ValueExp _leftExp, ValueExp _rightExp)
           
 
Method Summary
 ValueExp apply(ObjectName objectname)
          Applies the ValueExp on a MBean.
 ValueExp getLeftValue()
           
 ValueExp getRightValue()
           
 java.lang.String toString()
           
 
Methods inherited from class javax.management.QueryEval
setMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.management.ValueExp
setMBeanServer
 

Constructor Detail

MinusOpValueExp

public MinusOpValueExp(ValueExp _leftExp,
                       ValueExp _rightExp)
Method Detail

getLeftValue

public ValueExp getLeftValue()

getRightValue

public ValueExp getRightValue()

apply

public ValueExp apply(ObjectName objectname)
               throws BadStringOperationException,
                      BadBinaryOpValueExpException,
                      BadAttributeValueExpException,
                      InvalidApplicationException
Description copied from interface: ValueExp
Applies the ValueExp on a MBean.
Specified by:
apply in interface ValueExp
Following copied from interface: javax.management.ValueExp
Parameters:
name - The name of the MBean on which the ValueExp will be applied.
Returns:
The ValueExp.
Throws:
BadStringOperationException -  
BadBinaryOpValueExpException -  
BadAttributeValueExpException -  
InvalidApplicationException -  

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object