@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; AtlasEntityHeader that = (AtlasEntityHeader) o; return Objects.equals(guid, that.guid) && status == that.status && Objects.equals(displayText, that.displayText) && Objects.equals(classificationNames, that.classificationNames); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AtlasClassification that = (AtlasClassification) o; return Objects.equals(propagate, that.propagate) && Objects.equals(removePropagationsOnEntityDelete, that.removePropagationsOnEntityDelete) && Objects.equals(entityGuid, that.entityGuid) && entityStatus == that.entityStatus && Objects.equals(validityPeriods, that.validityPeriods); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; AtlasEntityHeader that = (AtlasEntityHeader) o; return Objects.equals(guid, that.guid) && status == that.status && Objects.equals(displayText, that.displayText) && Objects.equals(classificationNames, that.classificationNames) && Objects.equals(meaningNames, that.classificationNames) && Objects.equals(classifications, that.classifications) && Objects.equals(meanings, that.meanings); }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; AtlasRelationshipHeader that = (AtlasRelationshipHeader) o; return Objects.equals(guid, that.guid) && status == that.status && Objects.equals(label, that.label) && Objects.equals(propagateTags, that.propagateTags) && Objects.equals(end1, that.end1) && Objects.equals(end2, that.end2); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AtlasEntity that = (AtlasEntity) o; return Objects.equals(guid, that.guid) && status == that.status && Objects.equals(createdBy, that.createdBy) && Objects.equals(updatedBy, that.updatedBy) && Objects.equals(createTime, that.createTime) && Objects.equals(updateTime, that.updateTime) && Objects.equals(version, that.version) && Objects.equals(relationshipAttributes, that.relationshipAttributes) && Objects.equals(classifications, that.classifications); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AtlasRelationship that = (AtlasRelationship) o; return Objects.equals(guid, that.guid) && Objects.equals(end1, that.end1) && Objects.equals(end2, that.end2) && Objects.equals(label, that.label) && status == that.status && Objects.equals(createdBy, that.createdBy) && Objects.equals(updatedBy, that.updatedBy) && Objects.equals(createTime, that.createTime) && Objects.equals(updateTime, that.updateTime) && Objects.equals(version, that.version); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AtlasEntity that = (AtlasEntity) o; return Objects.equals(guid, that.guid) && Objects.equals(homeId, that.homeId) && Objects.equals(isProxy, that.isProxy) && status == that.status && Objects.equals(createdBy, that.createdBy) && Objects.equals(updatedBy, that.updatedBy) && Objects.equals(createTime, that.createTime) && Objects.equals(updateTime, that.updateTime) && Objects.equals(version, that.version) && Objects.equals(relationshipAttributes, that.relationshipAttributes) && Objects.equals(classifications, that.classifications); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } if (!super.equals(o)) { return false; } AtlasRelationship that = (AtlasRelationship) o; return Objects.equals(guid, that.guid) && Objects.equals(homeId, that.homeId) && Objects.equals(end1, that.end1) && Objects.equals(end2, that.end2) && Objects.equals(label, that.label) && propagateTags == that.propagateTags && status == that.status && Objects.equals(createdBy, that.createdBy) && Objects.equals(updatedBy, that.updatedBy) && Objects.equals(createTime, that.createTime) && Objects.equals(updateTime, that.updateTime) && Objects.equals(version, that.version) && Objects.equals(propagatedClassifications, that.propagatedClassifications) && Objects.equals(blockedPropagatedClassifications, that.blockedPropagatedClassifications); }
validateEntity(entitiesInfo, updatedTableDef1); Assert.assertTrue(partsMap.get("part0").equals(((Map<String, AtlasStruct>) updatedTableDef1.getAttribute("partitionsMap")).get("part0"))); Assert.assertTrue(partsMap.get("part1").equals(((Map<String, AtlasStruct>) updatedTableDef2.getAttribute("partitionsMap")).get("part1"))); Assert.assertTrue(partsMap.get("part2").equals(((Map<String, AtlasStruct>) updatedTableDef3.getAttribute("partitionsMap")).get("part2"))); Assert.assertTrue(partsMap.get("part2").equals(((Map<String, AtlasStruct>) updatedTableDef4.getAttribute("partitionsMap")).get("part2")));
validateEntity(entitiesInfo, updatedTableDef1); Assert.assertTrue(partsMap.get("part0").equals(((Map<String, AtlasStruct>) updatedTableDef1.getAttribute("partitionsMap")).get("part0"))); Assert.assertTrue(partsMap.get("part1").equals(((Map<String, AtlasStruct>) updatedTableDef2.getAttribute("partitionsMap")).get("part1"))); Assert.assertTrue(partsMap.get("part2").equals(((Map<String, AtlasStruct>) updatedTableDef3.getAttribute("partitionsMap")).get("part2"))); Assert.assertTrue(partsMap.get("part2").equals(((Map<String, AtlasStruct>) updatedTableDef4.getAttribute("partitionsMap")).get("part2")));