Package com.jk.data.dynamic.query
Class TableName
java.lang.Object
com.jk.data.dynamic.query.TableName
- All Implemented Interfaces:
QueryComponent
This class represents a query component that defines the name of a table to
be used in queries.
It implements the QueryComponent
interface.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isInline()
This method determines whether the query component should be rendered in-line in the query structure (true) or not (false).This method converts the query component into a query element that can be included in the query structure.
-
Constructor Details
-
TableName
This method constructs a new with a specified table name.- Parameters:
tableName
- Specifies the name of the table.
-
-
Method Details
-
isInline
public boolean isInline()This method determines whether the query component should be rendered in-line in the query structure (true) or not (false).- Specified by:
isInline
in interfaceQueryComponent
- Returns:
- false.
-
toQueryElement
This method converts the query component into a query element that can be included in the query structure.- Specified by:
toQueryElement
in interfaceQueryComponent
- Returns:
- the query element, which can be a string or any appropriate object representation.
-