@Test public void testDeserialize() throws Exception { final ProjectValidations validations = readObjectFromResource("/project/project-validationAvail.json", ProjectValidations.class); assertThat(validations, is(notNullValue())); assertThat(validations.getValidations(), hasItems(PDM_VS_DWH, METRIC_FILTER, PDM_TRANSITIVITY, LDM, INVALID_OBJECTS, PDM_ELEM, PDM_PK_FK_CONSISTENCY)); }
@JsonProperty("validateProject") public Set<ProjectValidationType> getValidations() { return validations; }
ProjectValidations { @JsonProperty("validateProject") public Set<ProjectValidationType> getValidations() { return validations; } }
ProjectValidations { @JsonProperty("validateProject") public Set<ProjectValidationType> getValidations() { return validations; } ProjectValidations(ProjectValidationType... validations); @JsonCreator  ProjectValidations(@JsonProperty("availableValidations") final Set<ProjectValidationType> validations); }
ProjectValidations { @JsonProperty("validateProject") public Set<ProjectValidationType> getValidations() { return validations; } ProjectValidations(ProjectValidationType... validations); @JsonCreator  ProjectValidations(@JsonProperty("availableValidations") final Set<ProjectValidationType> validations); @JsonProperty("validateProject") Set<ProjectValidationType> getValidations(); @Override String toString(); }
ProjectValidations { @JsonProperty("validateProject") public Set<ProjectValidationType> getValidations() { return validations; } ProjectValidations(ProjectValidationType... validations); @JsonCreator  ProjectValidations(@JsonProperty("availableValidations") final Set<ProjectValidationType> validations); @JsonProperty("validateProject") Set<ProjectValidationType> getValidations(); @Override String toString(); static final String URI; }