Java Doc for Query.java in  » EJB-Server-JBoss-4.2.1 » jmx » javax » management » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server JBoss 4.2.1 » jmx » javax.management 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   javax.management.Query

Query
public class Query (Code)
This class is a factory for constructing queries.

REVIEW: Full explanation. See the spec for now for what it's worth.
author:
   Adrian Brock.
version:
   $Revision: 57200 $



Field Summary
final public static  intDIV
    
final public static  intEQ
    
final public static  intGE
    
final public static  intGT
    
final public static  intLE
    
final public static  intLT
    
final public static  intMINUS
    
final public static  intPLUS
    
final public static  intTIMES
    

Constructor Summary
public  Query()
    

Method Summary
public static  QueryExpand(QueryExp first, QueryExp second)
     And Query expression.
public static  QueryExpanySubString(AttributeValueExp attr, StringValueExp string)
     Tests an attribute contains a string as a subset.
public static  AttributeValueExpattr(String value)
    
public static  AttributeValueExpattr(String className, String value)
    
public static  QueryExpbetween(ValueExp test, ValueExp lower, ValueExp higher)
     Tests a value is between two other values.
public static  AttributeValueExpclassattr()
    
public static  ValueExpdiv(ValueExp first, ValueExp second)
    
public static  QueryExpeq(ValueExp first, ValueExp second)
     Equals Comparison.
public static  QueryExpfinalSubString(AttributeValueExp attr, StringValueExp string)
     Tests an attribute ends with a string as a subset.
public static  QueryExpgeq(ValueExp first, ValueExp second)
     Greater than or Equals Comparison.
public static  QueryExpgt(ValueExp first, ValueExp second)
     Greater than.
public static  QueryExpin(ValueExp test, ValueExp[] list)
     Tests a value is in one of the listed values.
public static  QueryExpinitialSubString(AttributeValueExp attr, StringValueExp string)
     Tests an attribute starts with a string as a subset.
public static  QueryExpleq(ValueExp first, ValueExp second)
     Less than or equal.
public static  QueryExplt(ValueExp first, ValueExp second)
     Less than.
public static  QueryExpmatch(AttributeValueExp attr, StringValueExp string)
     Tests an attribute equals a string value.
public static  ValueExpminus(ValueExp first, ValueExp second)
    
public static  QueryExpnot(QueryExp expression)
     Not Query expression.
public static  QueryExpor(QueryExp first, QueryExp second)
     Or Query expression.
public static  ValueExpplus(ValueExp first, ValueExp second)
    
public static  ValueExptimes(ValueExp first, ValueExp second)
    
public static  ValueExpvalue(boolean value)
     Create a boolean value expression for use in a Query.
public static  ValueExpvalue(double value)
     Create a double value expression for use in a Query.
public static  ValueExpvalue(float value)
     Create a float value expression for use in a Query.
public static  ValueExpvalue(int value)
     Create an integer value expression for use in a Query.
public static  ValueExpvalue(long value)
     Create a long value expression for use in a Query.
public static  ValueExpvalue(Number value)
     Create a number value expression for use in a Query.
public static  StringValueExpvalue(String value)
     Create a string value expression for use in a Query.

Field Detail
DIV
final public static int DIV(Code)
Divide expression



EQ
final public static int EQ(Code)
Equals expression



GE
final public static int GE(Code)
Greater than or equals expression



GT
final public static int GT(Code)
Greater than expression



LE
final public static int LE(Code)
Less than or equals expression



LT
final public static int LT(Code)
Less than expression



MINUS
final public static int MINUS(Code)
Minus expression



PLUS
final public static int PLUS(Code)
Plus expression



TIMES
final public static int TIMES(Code)
Times expression




Constructor Detail
Query
public Query()(Code)
Construct a new Query




Method Detail
and
public static QueryExp and(QueryExp first, QueryExp second)(Code)
And Query expression. Return true only when both expressions are true.
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



anySubString
public static QueryExp anySubString(AttributeValueExp attr, StringValueExp string)(Code)
Tests an attribute contains a string as a subset. Return true when this is the case, false otherwise.
Parameters:
  attr - the attribute
Parameters:
  string - the string the expression



attr
public static AttributeValueExp attr(String value)(Code)
An attribute expression
Parameters:
  value - the name of the attribute the expression



attr
public static AttributeValueExp attr(String className, String value)(Code)
An attribute expression restricted to a specific class
Parameters:
  className - the name of the class
Parameters:
  value - the name of the attribute the expression



between
public static QueryExp between(ValueExp test, ValueExp lower, ValueExp higher)(Code)
Tests a value is between two other values. Returns true when this is case, false otherwise.
Parameters:
  test - the value to test
Parameters:
  lower - the lower bound
Parameters:
  higher - the higer bound the expression



classattr
public static AttributeValueExp classattr()(Code)
What is this? the expression



div
public static ValueExp div(ValueExp first, ValueExp second)(Code)
An expression that divides the first expression by the second
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



eq
public static QueryExp eq(ValueExp first, ValueExp second)(Code)
Equals Comparison.
Parameters:
  first - the first expression
Parameters:
  second - the second expression true when first equals second



finalSubString
public static QueryExp finalSubString(AttributeValueExp attr, StringValueExp string)(Code)
Tests an attribute ends with a string as a subset. Return true when this is the case, false otherwise.
Parameters:
  attr - the attribute
Parameters:
  string - the string the expression



geq
public static QueryExp geq(ValueExp first, ValueExp second)(Code)
Greater than or Equals Comparison.
Parameters:
  first - the first expression
Parameters:
  second - the second expression true when first >= second



gt
public static QueryExp gt(ValueExp first, ValueExp second)(Code)
Greater than.
Parameters:
  first - the first expression
Parameters:
  second - the second expression true when first > second



in
public static QueryExp in(ValueExp test, ValueExp[] list)(Code)
Tests a value is in one of the listed values. Returns true when this is case, false otherwise.
Parameters:
  test - the value to test
Parameters:
  list - an array of values the expression



initialSubString
public static QueryExp initialSubString(AttributeValueExp attr, StringValueExp string)(Code)
Tests an attribute starts with a string as a subset. Return true when this is the case, false otherwise.
Parameters:
  attr - the attribute
Parameters:
  string - the string the expression



leq
public static QueryExp leq(ValueExp first, ValueExp second)(Code)
Less than or equal.
Parameters:
  first - the first expression
Parameters:
  second - the second expression true when first <= second



lt
public static QueryExp lt(ValueExp first, ValueExp second)(Code)
Less than.
Parameters:
  first - the first expression
Parameters:
  second - the second expression true when first < second



match
public static QueryExp match(AttributeValueExp attr, StringValueExp string)(Code)
Tests an attribute equals a string value. Return true when this is the case, false otherwise.
Parameters:
  attr - the attribute
Parameters:
  string - the string the expression



minus
public static ValueExp minus(ValueExp first, ValueExp second)(Code)
An expression that subtracts the second expression from the first
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



not
public static QueryExp not(QueryExp expression)(Code)
Not Query expression. Return true only when expression is false.
Parameters:
  expression - the expression to negate the expression



or
public static QueryExp or(QueryExp first, QueryExp second)(Code)
Or Query expression. Return true when either expression is true.
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



plus
public static ValueExp plus(ValueExp first, ValueExp second)(Code)
An expression that adds the second expression to the first
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



times
public static ValueExp times(ValueExp first, ValueExp second)(Code)
An expression that multiplies the first expression by the second
Parameters:
  first - the first expression
Parameters:
  second - the second expression the expression



value
public static ValueExp value(boolean value)(Code)
Create a boolean value expression for use in a Query. the expression



value
public static ValueExp value(double value)(Code)
Create a double value expression for use in a Query. the expression



value
public static ValueExp value(float value)(Code)
Create a float value expression for use in a Query. the expression



value
public static ValueExp value(int value)(Code)
Create an integer value expression for use in a Query. the expression



value
public static ValueExp value(long value)(Code)
Create a long value expression for use in a Query. the expression



value
public static ValueExp value(Number value)(Code)
Create a number value expression for use in a Query. the expression



value
public static StringValueExp value(String value)(Code)
Create a string value expression for use in a Query. the expression



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.