예제 #1
0
 // override Object
 public boolean equals(Object obj) {
   if (!(obj instanceof RelColumnOrigin)) {
     return false;
   }
   RelColumnOrigin other = (RelColumnOrigin) obj;
   return Arrays.equals(originTable.getQualifiedName(), other.originTable.getQualifiedName())
       && (iOriginColumn == other.iOriginColumn)
       && (isDerived == other.isDerived);
 }
예제 #2
0
 // override Object
 public int hashCode() {
   return Arrays.hashCode(originTable.getQualifiedName()) + iOriginColumn + (isDerived ? 313 : 0);
 }
예제 #3
0
 public List<String> getQualifiedName() {
   return parent.getQualifiedName();
 }