Class TableName

java.lang.Object
com.jk.data.dynamic.query.TableName
All Implemented Interfaces:
QueryComponent

public class TableName extends Object implements 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
    Constructor
    Description
    TableName(String tableName)
    This method constructs a new with a specified table name.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TableName

      public TableName(String 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 interface QueryComponent
      Returns:
      false.
    • toQueryElement

      public Object toQueryElement()
      This method converts the query component into a query element that can be included in the query structure.
      Specified by:
      toQueryElement in interface QueryComponent
      Returns:
      the query element, which can be a string or any appropriate object representation.