1 package eu.ehri.project.definitions;
2
3
4 import java.util.Optional;
5
6 public enum IsadG implements DefinitionList {
7
8 archivistNote("3.7.1"),
9 archivalHistory("3.2.3"),
10 acquisition("3.2.4"),
11 appraisal("3.3.2"),
12 accruals("3.3.3"),
13 biographicalHistory("3.2.2"),
14 conditionsOfAccess("3.4.1"),
15 conditionsOfReproduction("3.4.2"),
16
17 datesOfDescriptions("3.7.3"),
18 extentAndMedium("3.1.5"),
19 findingAids("3.4.5", true),
20 languageOfMaterial("3.4.3", true),
21 levelOfDescription("3.1.4"),
22 locationOfOriginals("3.5.1", true),
23 locationOfCopies("3.5.2", true),
24 relatedUnitsOfDescription("3.5.3"),
25 physicalCharacteristics("3.4.4"),
26 physicalLocation("3.4.4", true),
27 publicationNote("3.5.4"),
28 notes("3.6.1", true),
29 rulesAndConventions("3.7.2"),
30 scopeAndContent("3.3.1"),
31 scriptOfMaterial("3.4.3", true),
32 separatedUnitsOfDescription("3.5.3"),
33 sources("3.7.1", true),
34 systemOfArrangement("3.3.4"),
35 unitDates("3.1.3", true);
36
37 private final Boolean multiValued;
38 private final String analogueEncoding;
39
40
41 IsadG() {
42 this(null, false);
43 }
44
45 IsadG(Boolean multiValued) {
46 this(null, multiValued);
47 }
48
49 IsadG(String analogueEncoding) {
50 this(analogueEncoding, false);
51 }
52
53 IsadG(String analogueEncoding, Boolean multiValued) {
54 this.multiValued = multiValued;
55 this.analogueEncoding = analogueEncoding;
56 }
57
58 public Boolean isMultiValued() {
59 return multiValued;
60 }
61
62 public Optional<String> getAnalogueEncoding() {
63 return Optional.ofNullable(analogueEncoding);
64 }
65 }