Bugs item #1236682
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / model / Entity.java
index c911730..e4fd8a2 100644 (file)
@@ -2,20 +2,20 @@ package com.quantum.model;
 
 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;