@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } HierarchicalDimAttribute other = (HierarchicalDimAttribute) obj; if (this.getHierarchy() == null) { if (other.getHierarchy() != null) { return false; } } else if (!this.getHierarchy().equals(other.getHierarchy())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } HierarchicalDimAttribute other = (HierarchicalDimAttribute) obj; if (this.getHierarchy() == null) { if (other.getHierarchy() != null) { return false; } } else if (!this.getHierarchy().equals(other.getHierarchy())) { return false; } return true; }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } BaseDimAttribute other = (BaseDimAttribute) obj; if (this.getType() == null) { if (other.getType() != null) { return false; } } else if (!this.getType().equalsIgnoreCase(other.getType())) { return false; } else if (!this.numOfDistinctValues.equals(other.numOfDistinctValues)) { return false; } else if (!this.getValues().equals(other.getValues())) { return false; } return true; } }
@Override public boolean equals(Object obj) { if (!super.equals(obj)) { return false; } BaseDimAttribute other = (BaseDimAttribute) obj; if (this.getType() == null) { if (other.getType() != null) { return false; } } else if (!this.getType().equalsIgnoreCase(other.getType())) { return false; } else if (!this.numOfDistinctValues.equals(other.numOfDistinctValues)) { return false; } else if (!this.getValues().equals(other.getValues())) { return false; } return true; } }