org.objectweb.medor.query.rdb.api
Interface QualifiedTable

All Superinterfaces:
AnnotationsHolder, java.lang.Cloneable, java.io.Serializable
All Known Implementing Classes:
BasicQualifiedTable

public interface QualifiedTable
extends java.lang.Cloneable, AnnotationsHolder

A QualifiedTable represents a table name with its potential alias. It represents a table used in a SQL request. It is used by RdbExpQueryLeaves and RdbExpFields.

Author:
Alexandre Lefebvre
See Also:
RdbExpQueryLeaf, RdbExpField

Method Summary
 java.lang.String getAliasName()
          Return the alias name for the current QualifiedTable.
 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 newName)
           
 boolean withSubclasses()
           
 
Methods inherited from interface org.objectweb.medor.query.api.AnnotationsHolder
getAnnotations
 

Method Detail

getTableName

public java.lang.String getTableName()
Returns the table name for the current QualifiedTable.

Returns:
the table name for the current QualifiedTable.

getAliasName

public java.lang.String getAliasName()
Return the alias name for the current QualifiedTable.

Returns:
the alias name for the current QualifiedTable.

setAliasName

public void setAliasName(java.lang.String newName)

isPolymorphic

public boolean isPolymorphic()
Returns if the class linked to the table has superclasses or subclasses

Returns:

withSubclasses

public boolean withSubclasses()