org.objectweb.medor.query.rdb.lib
Class BasicQualifiedTable

java.lang.Object
  extended byJoinedTable
      extended byorg.objectweb.medor.query.rdb.lib.BasicQualifiedTable
All Implemented Interfaces:
AnnotationsHolder, java.lang.Cloneable, QualifiedTable, java.io.Serializable

public class BasicQualifiedTable
extends JoinedTable
implements QualifiedTable

See Also:
Serialized Form

Constructor Summary
BasicQualifiedTable()
           
BasicQualifiedTable(java.lang.String tableName, java.lang.String aliasName)
           
BasicQualifiedTable(java.lang.String tableName, java.lang.String aliasName, boolean polymorphic, boolean withSubclasses)
          Builds a BasicQualifiedTable from a table name an an alias name.
 
Method Summary
 java.lang.String getAliasName()
          Return the alias name for the current QualifiedTable.
 java.util.Map getAnnotations()
           
 java.lang.String getTableName()
          Returns the table name for the current QualifiedTable.
 boolean isPolymorphic()
          Returns if the class linked to the table has superclasses or subclasses
 void setAliasName(java.lang.String aliasName)
           
 boolean withSubclasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicQualifiedTable

public BasicQualifiedTable()

BasicQualifiedTable

public BasicQualifiedTable(java.lang.String tableName,
                           java.lang.String aliasName,
                           boolean polymorphic,
                           boolean withSubclasses)
Builds a BasicQualifiedTable from a table name an an alias name.


BasicQualifiedTable

public BasicQualifiedTable(java.lang.String tableName,
                           java.lang.String aliasName)
Method Detail

getTableName

public java.lang.String getTableName()
Description copied from interface: QualifiedTable
Returns the table name for the current QualifiedTable.

Specified by:
getTableName in interface QualifiedTable
Returns:
the table name for the current QualifiedTable.

getAliasName

public java.lang.String getAliasName()
Description copied from interface: QualifiedTable
Return the alias name for the current QualifiedTable.

Specified by:
getAliasName in interface QualifiedTable
Returns:
the alias name for the current QualifiedTable.

setAliasName

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

isPolymorphic

public boolean isPolymorphic()
Description copied from interface: QualifiedTable
Returns if the class linked to the table has superclasses or subclasses

Specified by:
isPolymorphic in interface QualifiedTable
Returns:

withSubclasses

public boolean withSubclasses()
Specified by:
withSubclasses in interface QualifiedTable

getAnnotations

public java.util.Map getAnnotations()
Specified by:
getAnnotations in interface AnnotationsHolder
Returns:
a map containing associations key <-> value defining the annotations.