latest quantum sources 2.3.2
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / subset / ObjectNode.java
index 149135f..7d6fcf7 100644 (file)
@@ -71,8 +71,8 @@ public class ObjectNode implements Comparable, EntityHolder {
                        if (node.getOrder() > getOrder()) return -1;
                        if (node.getOrder() < getOrder()) return 1;
                        // If the order is the same, we use alphabetical order 
-                       return getEntity().getCondQualifiedName().compareTo(
-                node.getEntity().getCondQualifiedName());
+                       return getEntity().getQualifiedName().compareTo(
+                node.getEntity().getQualifiedName());
                } else throw new ClassCastException();
        }
        
@@ -105,8 +105,8 @@ public class ObjectNode implements Comparable, EntityHolder {
         */
        public boolean equals(Object obj) {
                if (!(obj instanceof ObjectNode)) return false;
-               return (getEntity().getCondQualifiedName().equals(
-            ((ObjectNode) obj).getEntity().getCondQualifiedName()));
+               return (getEntity().getQualifiedName().equals(
+            ((ObjectNode) obj).getEntity().getQualifiedName()));
        }
        
        /**
@@ -153,7 +153,7 @@ public class ObjectNode implements Comparable, EntityHolder {
         */
        public String getQuery() {
                String result = new String(""); //$NON-NLS-1$
-               result = "SELECT " + metadata.getColumnsString() + " FROM " + getEntity().getCondQualifiedName(); //$NON-NLS-1$ //$NON-NLS-2$
+               result = "SELECT " + metadata.getColumnsString() + " FROM " + getEntity().getQualifiedName(); //$NON-NLS-1$ //$NON-NLS-2$
                return result;
        }