1 package eu.ehri.project.definitions; 2 3 public enum ContactInfo implements DefinitionList { 4 5 contactPerson, 6 street, 7 municipality, 8 firstdem, 9 countryCode, 10 postalCode, 11 email(true), 12 telephone(true), 13 fax(true), 14 webpage(true); 15 16 private final Boolean multiValued; 17 18 ContactInfo() { 19 this(false); 20 } 21 22 ContactInfo(Boolean multiValued) { 23 this.multiValued = multiValued; 24 } 25 26 public Boolean isMultiValued() { 27 return multiValued; 28 } 29 }