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