org.objectweb.medor.query.rdb.lib

Class BasicQualifiedTable

Implemented Interfaces:
Cloneable, QualifiedTable

public class BasicQualifiedTable
extends JoinedTable
implements QualifiedTable

MEDOR: Middleware Enabling Distributed Object Requests Copyright (C) 2001-2003 France Telecom R&D Contact: alexandre.lefebvre@rd.francetelecom.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Initial developers: M. Alia, A. Lefebvre

Constructor Summary

BasicQualifiedTable()
BasicQualifiedTable(String tableName, String aliasName)
Builds a BasicQualifiedTable from a table name an an alias name.

Method Summary

String
getAliasName()
Return the alias name for the current QualifiedTable.
String
getTableName()
Returns the table name for the current QualifiedTable.
void
setAliasName(String aliasName)

Constructor Details

BasicQualifiedTable

public BasicQualifiedTable()


BasicQualifiedTable

public BasicQualifiedTable(String tableName,
                           String aliasName)
Builds a BasicQualifiedTable from a table name an an alias name.

Method Details

getAliasName

public String getAliasName()
Return the alias name for the current QualifiedTable.
Specified by:
getAliasName in interface QualifiedTable

Returns:
the alias name for the current QualifiedTable.


getTableName

public String getTableName()
Returns the table name for the current QualifiedTable.
Specified by:
getTableName in interface QualifiedTable

Returns:
the table name for the current QualifiedTable.


setAliasName

public void setAliasName(String aliasName)
Specified by:
setAliasName in interface QualifiedTable