Top Description Fields Constructors Methods
javax.management

pack-priv Class InQueryExp

extends QueryEval
implements QueryExp
Class Inheritance
All Implemented Interfaces
javax.management.QueryExp, java.io.Serializable

This class is used by the query-building mechanism to represent binary operations.
Since
1.5

Field Summary

Modifier and TypeField and Description
private static final long
private ValueExp
private ValueExp[]

Constructor Summary

AccessConstructor and Description
public
InQueryExp()

Basic Constructor.

public
InQueryExp(ValueExp v1, ValueExp[] items)

Creates a new InQueryExp with the specified ValueExp to be found in a specified array of ValueExp.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

True if the query was successfully applied to the MBean, false otherwise.
apply
(ObjectName
The name of the MBean on which the InQueryExp will be applied.
name
)

Implements javax.management.QueryExp.apply.

Applies the InQueryExp on a MBean.

private String
public ValueExp
getCheckedValue()

Returns the checked value of the query.

public ValueExp[]
getExplicitValues()

Returns the array of values of the query.

public String
toString()

Overrides java.lang.Object.toString.

Returns the string representing the object.

Inherited from javax.management.QueryEval:
getMBeanServersetMBeanServer

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.management.QueryEval.serialVersionUID.

valback to summary
private ValueExp val
valueListback to summary
private ValueExp[] valueList

Constructor Detail

InQueryExpback to summary
public InQueryExp()

Basic Constructor.

InQueryExpback to summary
public InQueryExp(ValueExp v1, ValueExp[] items)

Creates a new InQueryExp with the specified ValueExp to be found in a specified array of ValueExp.

Method Detail

applyback to summary
public boolean apply(ObjectName name) throws BadStringOperationException, BadBinaryOpValueExpException, BadAttributeValueExpException, InvalidApplicationException

Implements javax.management.QueryExp.apply.

Applies the InQueryExp on a MBean.

Parameters
name:ObjectName

The name of the MBean on which the InQueryExp will be applied.

Returns:boolean

True if the query was successfully applied to the MBean, false otherwise.

Exceptions
BadStringOperationException:

Doc from javax.management.QueryExp.apply.

when an invalid string operation is passed to a method for constructing a query

BadBinaryOpValueExpException:

Doc from javax.management.QueryExp.apply.

when an invalid expression is passed to a method for constructing a query

BadAttributeValueExpException:

Doc from javax.management.QueryExp.apply.

when an invalid MBean attribute is passed to a query constructing method

InvalidApplicationException:

Doc from javax.management.QueryExp.apply.

when an invalid apply is attempted

generateValueListback to summary
private String generateValueList()
getCheckedValueback to summary
public ValueExp getCheckedValue()

Returns the checked value of the query.

getExplicitValuesback to summary
public ValueExp[] getExplicitValues()

Returns the array of values of the query.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Returns the string representing the object.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object