public abstract class QueryImpl extends Object implements Query
toSQLString()
method can be used to convert this object into
the actual SQL string which this query data represents.Modifier and Type | Class and Description |
---|---|
static class |
QueryImpl.Row
Struct containing the information from a single row of the system query
table.
|
Query.Type
Modifier and Type | Method and Description |
---|---|
static QueryImpl |
create(int objectFlag,
String name,
List<QueryImpl.Row> rows,
int objectId)
Creates a concrete Query instance from the given query data.
|
String |
getName()
Returns the name of the query.
|
int |
getObjectFlag() |
int |
getObjectId()
Returns the unique object id of the query.
|
String |
getOwnerAccessType() |
List<String> |
getParameters()
Returns the rows from the system query table from which the query
information was derived.
|
List<QueryImpl.Row> |
getRows()
Returns the rows from the system query table from which the query
information was derived.
|
Query.Type |
getType()
Returns the type of the query.
|
QueryImpl.Row |
getTypeRow() |
boolean |
isHidden()
Whether or not this query has been marked as hidden.
|
String |
toSQLString()
Returns the actual SQL string which this query data represents.
|
String |
toString() |
public String getName()
public Query.Type getType()
public boolean isHidden()
Query
public int getObjectId()
getObjectId
in interface Query
public int getObjectFlag()
getObjectFlag
in interface Query
public List<QueryImpl.Row> getRows()
public QueryImpl.Row getTypeRow()
public List<String> getParameters()
Query
getParameters
in interface Query
public String getOwnerAccessType()
getOwnerAccessType
in interface Query
public String toSQLString()
toSQLString
in interface Query
public static QueryImpl create(int objectFlag, String name, List<QueryImpl.Row> rows, int objectId)
objectFlag
- the flag indicating the type of the queryname
- the name of the queryrows
- the rows from the system query table containing the data
describing this queryobjectId
- the unique object id of this queryCopyright © 2005–2024 OpenHMS. All rights reserved.