data-generator/src/main/java/it/cavallium/data/generator/SourcesGeneratorConfigurationRefs.java
Andrea Cavalli c2c4765148 Compute hash
2022-07-19 02:10:14 +02:00

32 lines
1001 B
Java

package it.cavallium.data.generator;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
public class SourcesGeneratorConfigurationRefs {
public Map<String, Map<String, Set<String>>> superTypes;
public Map<String, Map<String, CustomTypesConfiguration>> customTypes;
public Map<String, Map<String, ClassConfiguration>> classes;
public Map<String, List<VersionTransformation>> transformations;
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
SourcesGeneratorConfigurationRefs that = (SourcesGeneratorConfigurationRefs) o;
return Objects.equals(superTypes, that.superTypes) && Objects.equals(customTypes, that.customTypes)
&& Objects.equals(classes, that.classes) && Objects.equals(transformations, that.transformations);
}
@Override
public int hashCode() {
return Objects.hash(superTypes, customTypes, classes, transformations);
}
}