1 19 20 package org.netbeans.modules.j2ee.persistence.provider; 21 22 import java.util.Collections ; 23 import java.util.Map ; 24 import org.openide.util.NbBundle; 25 26 31 class KodoProvider extends Provider{ 32 33 protected KodoProvider(){ 34 super("kodo.persistence.PersistenceProviderImpl"); 35 } 36 37 public String getDisplayName() { 38 return NbBundle.getMessage(KodoProvider.class, "LBL_Kodo"); } 40 41 public String getJdbcUrl() { 42 return "kodo.ConnectionURL"; 43 } 44 45 public String getJdbcDriver() { 46 return "kodo.ConnectionDriverName"; 47 } 48 49 public String getJdbcUsername() { 50 return "kodo.ConnectionUserName"; 51 } 52 53 public String getJdbcPassword() { 54 return "kodo.ConnectionPassword"; 55 } 56 57 public String getTableGenerationPropertyName() { 58 return ""; 59 } 60 61 public String getTableGenerationDropCreateValue() { 62 return ""; 63 } 64 65 public String getTableGenerationCreateValue() { 66 return ""; 67 } 68 69 public Map getUnresolvedVendorSpecificProperties() { 70 return Collections.EMPTY_MAP; 71 } 72 73 public Map getDefaultVendorSpecificProperties() { 74 return Collections.EMPTY_MAP; 75 } 76 77 } 78 | Popular Tags |