public boolean equals()

in persistence-commons/persistence-commons-reporting-parent/persistence-commons-reporting-api/src/main/java/org/kie/kogito/persistence/reporting/model/BaseMappingDefinition.java [114:129]


    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        if (!(o instanceof BaseMappingDefinition)) {
            return false;
        }
        BaseMappingDefinition<?, ?, ?, ?, ?> that = (BaseMappingDefinition<?, ?, ?, ?, ?>) o;
        return getMappingId().equals(that.getMappingId())
                && getSourceTableName().equals(that.getSourceTableName())
                && getSourceTableJsonFieldName().equals(that.getSourceTableJsonFieldName())
                && getSourceTableIdentityFields().equals(that.getSourceTableIdentityFields())
                && Objects.equals(getSourceTablePartitionFields(), that.getSourceTablePartitionFields())
                && getTargetTableName().equals(that.getTargetTableName())
                && getFieldMappings().equals(that.getFieldMappings());
    }