comparison src/main/java/de/mpiwg/itgroup/ismi/entry/beans/CurrentWitnessBean.java @ 133:5ccd6e709f95

fix attribute name in EditIntent.
author casties
date Thu, 23 Feb 2017 19:25:37 +0100
parents eee2e0ca4032
children 25bfcc9d757c
comparison
equal deleted inserted replaced
132:9f23184acf96 133:5ccd6e709f95
99 private EntityList possibleExamplerOfList; 99 private EntityList possibleExamplerOfList;
100 100
101 private MisidentificationTable misidentTable; 101 private MisidentificationTable misidentTable;
102 102
103 /** intent to edit all attributes and relations in the form */ 103 /** intent to edit all attributes and relations in the form */
104 public static EditIntent editWitnessIntent = new EditIntent( 104 public static EditIntent editWitnessIntent = new EditIntent (
105 AbstractISMIBean.WITNESS, 105 AbstractISMIBean.WITNESS,
106 // attributes 106 // attributes
107 new String[]{"ahlward_no", "creation_date", "table_of_contents", "incipit", "explicit", "colophon", 107 new String[] {"ahlwardt_no", "creation_date", "table_of_contents", "incipit", "explicit", "colophon",
108 "folios", "is_autograph", "page_dimensions", "written_area_dimensions", "lines_per_page", 108 "folios", "is_autograph", "page_dimensions", "written_area_dimensions", "lines_per_page",
109 "writing_surface", "page_layout", "script", "other_features", "diagrams_and_illustrations", 109 "writing_surface", "page_layout", "script", "other_features", "diagrams_and_illustrations",
110 "scans", "notes", "notes_old", "notes_on_title_author", "notes_on_collation_and_corrections", 110 "scans", "notes", "notes_old", "notes_on_title_author", "notes_on_collation_and_corrections",
111 "notes_on_ownership", "source_of_information"}, 111 "notes_on_ownership", "source_of_information"},
112 // source relations 112 // source relations
113 new String[]{"is_exemplar_of", "is_part_of", "has_author_misidentification", "was_copied_by", 113 new String[] {"is_exemplar_of", "is_part_of", "has_author_misidentification", "was_copied_by",
114 "was_copied_in", "was_copied_in_as", "had_patron", "was_studied_by"}, 114 "was_copied_in", "was_copied_in_as", "had_patron", "was_studied_by"},
115 // target relations 115 // target relations
116 new String[]{"is_reference_of"}); 116 new String[] {"is_reference_of"});
117 117
118 public CurrentWitnessBean() { 118 public CurrentWitnessBean() {
119 super(); 119 super();
120 this.entity = new Entity(Node.TYPE_ABOX, WITNESS, false); 120 this.entity = new Entity(Node.TYPE_ABOX, WITNESS, false);
121 setDefObjectClass(WITNESS); 121 setDefObjectClass(WITNESS);
122 122
123 registerChecker(copyistLo.statusImage, "Copyist not valid"); 123 registerChecker(copyistLo.statusImage, "Copyist not valid");
124 registerChecker(copyPlaceLo.statusImage, "Copyist not valid"); 124 registerChecker(copyPlaceLo.statusImage, "Copy place not valid");
125 registerChecker(patronageLo.statusImage,"Patron not valid"); 125 registerChecker(patronageLo.statusImage,"Patron not valid");
126 126
127 } 127 }
128 128
129 @Override 129 @Override