org.huihoo.jfox.jmx.queries
Class BooleanValueExp

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

public class BooleanValueExp
extends QueryEval
implements ValueExp

Author:
Young Yang
See Also:
Serialized Form

Fields inherited from class javax.management.QueryEval
server
 
Constructor Summary
BooleanValueExp(boolean flag)
           
 
Method Summary
 ValueExp apply(ObjectName objectname)
          Applies the ValueExp on a MBean.
 java.lang.Boolean getValue()
           
 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

BooleanValueExp

public BooleanValueExp(boolean flag)
Method Detail

getValue

public java.lang.Boolean getValue()

toString

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

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 -