public boolean deepEquals()

in sdmx30-infomodel/src/main/java/com/epam/jsdmx/infomodel/sdmx30/HierarchyImpl.java [102:116]


    public boolean deepEquals(Object o, Set<DeepEqualsExclusion> exclusions) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof Hierarchy)) {
            return false;
        }
        if (!super.deepEquals(o, exclusions)) {
            return false;
        }
        Hierarchy hierarchy = (HierarchyImpl) o;
        return isHasFormalLevels() == hierarchy.isHasFormalLevels()
            && Objects.equals(getLevel(), hierarchy.getLevel())
            && Objects.equals(getCodes(), hierarchy.getCodes());
    }