Skip to content

Commit

Permalink
Merge pull request #8438 from GlobalDataverseCommunityConsortium/IQSS…
Browse files Browse the repository at this point in the history
…/8338-support_custom_CVV_fields_in_DDI

IQSS/8338 support custom cvv fields in ddi
  • Loading branch information
kcondon authored Apr 13, 2022
2 parents a5f703e + e7524d9 commit 4e991dd
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 58 deletions.
4 changes: 4 additions & 0 deletions src/main/java/edu/harvard/iq/dataverse/api/dto/FieldDTO.java
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ public Object getConvertedValue() {
}
}

public boolean isControlledVocabularyField() {
return getTypeClass().equals("controlledVocabulary");
}

@Override
public int hashCode() {
int hash = 3;
Expand Down
Loading

0 comments on commit 4e991dd

Please sign in to comment.