1 23 package org.objectweb.medor.query.rdb.lib; 24 25 import org.objectweb.medor.query.rdb.api.QualifiedTable; 26 import org.objectweb.jorm.mapper.rdb.adapter.api.JoinedTable; 27 28 public class BasicQualifiedTable extends JoinedTable implements QualifiedTable { 29 30 private boolean polymorphic; 31 32 public BasicQualifiedTable() { 33 super(); 34 polymorphic = false; 35 } 36 37 40 public BasicQualifiedTable(String tableName, String aliasName, boolean polymorphic) { 41 super(tableName, aliasName); 42 this.polymorphic = polymorphic; 43 } 44 45 public BasicQualifiedTable(String tableName, String aliasName) { 46 super(tableName, aliasName); 47 this.polymorphic = false; 48 } 49 50 public String getTableName() { 51 return tableName; 52 } 53 54 public String getAliasName() { 55 return alias; 56 } 57 58 public void setAliasName(String aliasName) { 59 this.alias = aliasName; 60 } 61 62 public boolean isPolymorphic() { 63 return polymorphic; 64 } 65 } 66 67 | Popular Tags |