com.sun.xml.registry.uddi
Class QueryImpl
java.lang.Object
com.sun.xml.registry.uddi.QueryImpl
public class QueryImpl
- extends Object
The Query interface encapsulates a query in a declarative query language.
Currently a Query can be an SQL query only.
In future support for other query languages such as XQL query may be added.
The query must conform to a fixed schema as defined by the JAXR specification.
- Author:
- Farrukh S. Najmi
|
Method Summary |
int |
getType()
Gets the type of Query (e.g. |
String |
toString()
Must print the String representing the query. |
QueryImpl
public QueryImpl()
getType
public int getType()
throws JAXRException
- Gets the type of Query (e.g. QUERY_TYPE_SQL)
- Capability Level: 1
- Returns:
- the type of query
- Throws:
JAXRException- See Also:
Query.QUERY_TYPE_SQL,
Query.QUERY_TYPE_XQUERY
toString
public String toString()
- Must print the String representing the query. For example
in case of SQL query prints the SQL query as a string.
- Capability Level: 1
- Overrides:
toString in class Object
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.