static int hashCode(final BinaryTypeDefinition type) { return Objects.hash( type.getPath(), type.getUnknownSchemaNodes(), type.getBaseType(), type.getUnits(), type.getDefaultValue(), type.getLengthConstraints()); }