public boolean containsColumnOfTable(String column, AbstractCubeTable table) { for (TableRelationship edge : edges) { if ((table.equals(edge.getFromTable()) && column.equals(edge.getFromColumn())) || table.equals(edge.getToTable()) && column.equals(edge.getToColumn())) { return true; } } return false; }
public boolean containsColumnOfTable(String column, AbstractCubeTable table) { for (TableRelationship edge : edges) { if ((table.equals(edge.getFromTable()) && column.equals(edge.getFromColumn())) || table.equals(edge.getToTable()) && column.equals(edge.getToColumn())) { return true; } } return false; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } CubeFactTable other = (CubeFactTable) obj; if (!this.getCubeName().equals(other.getCubeName())) { return false; } if (this.getUpdatePeriods() == null) { if (other.getUpdatePeriods() != null) { return false; } } else { if (!this.getUpdatePeriods().equals(other.getUpdatePeriods())) { return false; } } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } CubeFactTable other = (CubeFactTable) obj; if (!this.getCubeName().equals(other.getCubeName())) { return false; } if (this.getUpdatePeriods() == null) { if (other.getUpdatePeriods() != null) { return false; } } else { if (!this.getUpdatePeriods().equals(other.getUpdatePeriods())) { return false; } } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } CubeDimensionTable other = (CubeDimensionTable) obj; if (this.getDimName() == null) { if (other.getDimName() != null) { return false; } } else { if (!this.getDimName().equals(other.getDimName())) { return false; } } if (this.getSnapshotDumpPeriods() == null) { if (other.getSnapshotDumpPeriods() != null) { return false; } } else { if (!this.getSnapshotDumpPeriods().equals(other.getSnapshotDumpPeriods())) { return false; } } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } AbstractBaseTable other = (AbstractBaseTable) obj; if (this.getExpressions() == null) { if (other.getExpressions() != null) { return false; } } else if (!this.getExpressions().equals(other.getExpressions())) { return false; } if (this.getJoinChains() == null) { if (other.getJoinChains() != null) { return false; } } else if (!this.getJoinChains().equals(other.getJoinChains())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } AbstractBaseTable other = (AbstractBaseTable) obj; if (this.getExpressions() == null) { if (other.getExpressions() != null) { return false; } } else if (!this.getExpressions().equals(other.getExpressions())) { return false; } if (this.getJoinChains() == null) { if (other.getJoinChains() != null) { return false; } } else if (!this.getJoinChains().equals(other.getJoinChains())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } CubeDimensionTable other = (CubeDimensionTable) obj; if (this.getDimName() == null) { if (other.getDimName() != null) { return false; } } else { if (!this.getDimName().equals(other.getDimName())) { return false; } } if (this.getSnapshotDumpPeriods() == null) { if (other.getSnapshotDumpPeriods() != null) { return false; } } else { if (!this.getSnapshotDumpPeriods().equals(other.getSnapshotDumpPeriods())) { return false; } } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } DerivedCube other = (DerivedCube) obj; if (!this.getParent().equals(other.getParent())) { return false; } if (this.getMeasureNames() == null) { if (other.getMeasureNames() != null) { return false; } } else if (!this.getMeasureNames().equals(other.getMeasureNames())) { return false; } if (this.getDimAttributeNames() == null) { if (other.getDimAttributeNames() != null) { return false; } } else if (!this.getDimAttributeNames().equals(other.getDimAttributeNames())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } DerivedCube other = (DerivedCube) obj; if (!this.getParent().equals(other.getParent())) { return false; } if (this.getMeasureNames() == null) { if (other.getMeasureNames() != null) { return false; } } else if (!this.getMeasureNames().equals(other.getMeasureNames())) { return false; } if (this.getDimAttributeNames() == null) { if (other.getDimAttributeNames() != null) { return false; } } else if (!this.getDimAttributeNames().equals(other.getDimAttributeNames())) { return false; } return true; }