FileDocCategorySizeDatePackage
BooleanValueExp.javaAPI DocJava SE 5 API1800Fri Aug 26 14:57:32 BST 2005javax.management

BooleanValueExp

public class BooleanValueExp extends QueryEval implements ValueExp
This class represents a boolean value. A BooleanValueExp may be used anywhere a ValueExp is required.
serial
include
since
1.5

Fields Summary
private static final long
serialVersionUID
private boolean
val
Constructors Summary
BooleanValueExp(boolean val)
Creates a new BooleanValueExp representing the boolean literal .



             
      
	this.val = val;
    
BooleanValueExp(Boolean val)
Creates a new BooleanValueExp representing the Boolean object .

	this.val = val.booleanValue();
    
Methods Summary
public javax.management.ValueExpapply(javax.management.ObjectName name)
Applies the ValueExp on a MBean.

param
name The name of the MBean on which the ValueExp will be applied.
return
The ValueExp.
exception
BadStringOperationException
exception
BadBinaryOpValueExpException
exception
BadAttributeValueExpException
exception
InvalidApplicationException

 
	return this;
    
public java.lang.BooleangetValue()
Returns the Boolean object representing the value of the BooleanValueExp object.

 
	return new Boolean(val);
    
public java.lang.StringtoString()
Returns the string representing the object.

 
	return String.valueOf(val);