Beispiel #1
0
 public static String getName(String idDomain) {
   if (idDomain == null) {
     return ANY_NAME;
   } else if (Domains.EHR_ID.equals(idDomain)) {
     return EHR_NAME;
   } else if (Domains.CDS_ID.equals(idDomain)) {
     return CDS_NAME;
   }
   return null;
 }
Beispiel #2
0
 public static String getDescription(String idDomain) {
   if (idDomain == null) {
     return ANY_DESC;
   } else if (Domains.EHR_ID.equals(idDomain)) {
     return EHR_DESC;
   } else if (Domains.CDS_ID.equals(idDomain)) {
     return CDS_DESC;
   }
   return null;
 }
Beispiel #3
0
 public static ImageIcon getIcon(String idDomain) {
   if (idDomain == null) {
     return DomainsUI.ANY_ICON;
   } else if (Domains.EHR_ID.equals(idDomain)) {
     return DomainsUI.EHR_ICON;
   } else if (Domains.CDS_ID.equals(idDomain)) {
     return DomainsUI.CDS_ICON;
   }
   return null;
 }