コード例 #1
0
 public static String getLabel(PersistenceProvider persistenceProvider) {
   return persistenceProvider.getName();
 }
コード例 #2
0
 public static String toString(PersistenceProvider persistenceProvider) {
   if (isEmpty(persistenceProvider))
     return "PersistenceProvider: [uninitialized] " + persistenceProvider.toString();
   String text = persistenceProvider.toString();
   return text;
 }
コード例 #3
0
 public static Object getKey(PersistenceProvider persistenceProvider) {
   return persistenceProvider.getName();
 }