Class CmsSelectQuery.TableAlias

java.lang.Object
org.opencms.db.CmsSelectQuery.TableAlias
Enclosing class:
CmsSelectQuery

public class CmsSelectQuery.TableAlias extends Object
Helper class which wraps a table alias.

  • Constructor Details

    • TableAlias

      public TableAlias(String name)
      Creates a new instance.

      Parameters:
      name - the table alias
  • Method Details

    • column

      public String column(String colName)
      Adds the table alias before a column name.

      Parameters:
      colName - the column name
      Returns:
      the column name, qualified by the table alias
    • getName

      public String getName()
      Returns the name of the table alias.

      Returns:
      the name of the table alias