示例#1
0
 public String getSelectedPreservationCaseName() {
   if (selectedPreservationCase == null) {
     return null;
   } else {
     return selectedPreservationCase.getName();
   }
 }
示例#2
0
 public void setSelectedPreservationCaseName(String name) {
   selectedPreservationCase = null;
   for (PreservationCase preservationCase : preservationCases) {
     if (preservationCase.getName().equals(name)) {
       selectedPreservationCase = preservationCase;
     }
   }
 }