@Override public boolean equals(Object object) { if(null == object) return false; if(!object.getClass().equals(this.getClass())) return false; DatabaseIdentifierImpl other = (DatabaseIdentifierImpl)object; if(isGlobal != other.isGlobal()) return false; if(null != catalog && !catalog.equals(other.getCatalog())) return false; if(null != other.getCatalog() && !other.getCatalog().equals(catalog)) return false; if(null != schema && !schema.equals(other.getSchema())) return false; if(null != other.getSchema() && !other.getSchema().equals(schema)) return false; if(null != table && !table.equals(other.getTable())) return false; return !(null != other.getTable() && !other.getTable().equals(table)); }
public boolean equals(Object object) { if(null == object) return false; if(!object.getClass().equals(this.getClass())) return false; DatabaseIdentifierImpl other = (DatabaseIdentifierImpl)object; if(isGlobal != other.isGlobal()) return false; if(null != catalog && !catalog.equals(other.getCatalog())) return false; if(null != other.getCatalog() && !other.getCatalog().equals(catalog)) return false; if(null != schema && !schema.equals(other.getSchema())) return false; if(null != other.getSchema() && !other.getSchema().equals(schema)) return false; if(null != table && !table.equals(other.getTable())) return false; if(null != other.getTable() && !other.getTable().equals(table)) return false; return true; }
public boolean equals(Object object) { if(null == object) return false; if(!object.getClass().equals(this.getClass())) return false; DatabaseIdentifierImpl other = (DatabaseIdentifierImpl)object; if(isGlobal != other.isGlobal()) return false; if(null != catalog && !catalog.equals(other.getCatalog())) return false; if(null != other.getCatalog() && !other.getCatalog().equals(catalog)) return false; if(null != schema && !schema.equals(other.getSchema())) return false; if(null != other.getSchema() && !other.getSchema().equals(schema)) return false; if(null != table && !table.equals(other.getTable())) return false; if(null != other.getTable() && !other.getTable().equals(table)) return false; return true; }
private boolean matchesTable(DatabaseIdentifierImpl other) { if(null == table) return false; if(null == other.getTable()) return false; if(!useTablePattern) { return StringUtil.matchesExact(other.getTable(), table, caseSensitive); } else { return StringUtil.matchesPerl5(other.getTable(), convert(table), caseSensitive); } }
private boolean matchesTable(DatabaseIdentifierImpl other) { if(null == table) return false; if(null == other.getTable()) return false; if(!useTablePattern) { return StringUtil.matchesExact(other.getTable(), table, caseSensitive); } else { return StringUtil.matchesPerl5(other.getTable(), convert(table), caseSensitive); } }
private boolean matchesTable(DatabaseIdentifierImpl other) { if(null == table) return false; if(null == other.getTable()) return false; if(!useTablePattern) { return StringUtil.matchesExact(other.getTable(), table, caseSensitive); } else { return StringUtil.matchesPerl5(other.getTable(), convert(table), caseSensitive); } }