XMOJO 5 API Docs

javax.management
Class QueryExpSupport

java.lang.Object
  |
  +--javax.management.QueryExpSupport
All Implemented Interfaces:
QueryExp, java.io.Serializable

public class QueryExpSupport
extends java.lang.Object
implements QueryExp

The QueryExpSupport class represents relational constraints that can be used in database query "where clauses." Instances of QueryExpSupport are returned by the static methods of the Query class.

See Also:
Serialized Form

Field Summary
static int AND
           
static int ANY
           
static int BET
           
static int DIV
           
static int EQ
           
static int FINAL
           
static int GE
           
static int GT
           
static int IN
           
static int INITIAL
           
static int LE
           
static int LT
           
static int MATCH
           
static int MINUS
           
static int NOT
           
static int OR
           
static int PLUS
           
static int TIMES
           
 
Constructor Summary
QueryExpSupport()
           
 
Method Summary
 boolean apply(ObjectName object)
          Applies the QueryExp on a MBean.
 QueryExp getQueryExp1()
           
 QueryExp getQueryExp2()
           
 int getType()
           
 ValueExp getValueExp1()
           
 ValueExp getValueExp2()
           
 ValueExp getValueExp3()
           
 ValueExp[] getValueExpArray()
           
 boolean isQueryFlag()
           
 boolean isValueFlag()
           
 void setMBeanServer(MBeanServer server)
          Sets the MBeanServer on which the query is to be accessed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DIV

public static final int DIV

EQ

public static final int EQ

GE

public static final int GE

GT

public static final int GT

LE

public static final int LE

LT

public static final int LT

MINUS

public static final int MINUS

PLUS

public static final int PLUS

TIMES

public static final int TIMES

MATCH

public static final int MATCH

AND

public static final int AND

OR

public static final int OR

BET

public static final int BET

NOT

public static final int NOT

IN

public static final int IN

INITIAL

public static final int INITIAL

ANY

public static final int ANY

FINAL

public static final int FINAL
Constructor Detail

QueryExpSupport

public QueryExpSupport()
Method Detail

apply

public boolean apply(ObjectName object)
              throws BadStringOperationException,
                     BadBinaryOpValueExpException,
                     BadAttributeValueExpException,
                     InvalidApplicationException
Applies the QueryExp on a MBean.
Specified by:
apply in interface QueryExp
Parameters:
object - - The name of the MBean on which the QueryExp will be applied.
Returns:
True if the query was successfully applied to the MBean, false otherwise.
Throws:
BadStringOperationException -  
BadBinaryOpValueExpException -  
BadAttributeValueExpException -  
InvalidApplicationException -  

setMBeanServer

public void setMBeanServer(MBeanServer server)
Sets the MBeanServer on which the query is to be accessed.
Specified by:
setMBeanServer in interface QueryExp
Parameters:
server - - The MBeanServer on which the query is to be accessed.

isQueryFlag

public boolean isQueryFlag()

isValueFlag

public boolean isValueFlag()

getType

public int getType()

getQueryExp1

public QueryExp getQueryExp1()

getQueryExp2

public QueryExp getQueryExp2()

getValueExp1

public ValueExp getValueExp1()

getValueExp2

public ValueExp getValueExp2()

getValueExp3

public ValueExp getValueExp3()

getValueExpArray

public ValueExp[] getValueExpArray()

XMOJO 5 API Docs

Copyright ©2003 XMOJO.org. All Rights Reserved.