import java.sql.SQLException;
-import com.quantum.IQuantumConstants;
-
/**
* @author BC
*/
public interface Entity extends BookmarkHolder, Comparable {
- public static final String TABLE_TYPE = IQuantumConstants.Table;
- public static final String VIEW_TYPE = IQuantumConstants.View;
- public static final String SEQUENCE_TYPE = IQuantumConstants.Sequence;
+ public static final String TABLE_TYPE = "TABLE";
+ public static final String VIEW_TYPE = "VIEW";
+ public static final String SEQUENCE_TYPE = "SEQUENCE";
public String getName();
public String getSchema();
public String getType();
+ public boolean isSynonym();
+
public Column[] getColumns() throws NotConnectedException, SQLException;
public Index[] getIndexes() throws NotConnectedException, SQLException;
public Column getColumn(String columnName) throws NotConnectedException, SQLException;