1 64 65 package com.jcorporate.expresso.core.dbobj.tests; 66 67 72 73 import com.jcorporate.expresso.core.db.DBException; 74 import com.jcorporate.expresso.core.dbobj.Schema; 75 76 77 83 public class TestSchema 84 extends Schema { 85 86 89 public TestSchema() 90 throws DBException { 91 super(); 92 93 try { 94 95 96 addDBObject("com.jcorporate.expresso.core.dbobj.tests.Test1"); 97 addDBObject("com.jcorporate.expresso.core.dbobj.tests.Test2"); 98 } catch (Exception e) { 99 throw new DBException(e); 100 } 101 } 102 103 106 public String getMessageBundlePath() { 107 return "com/jcorporate/expresso/core"; 108 } 109 110 114 public String getDefaultComponentCode() { 115 return ("tests"); 116 } 117 118 122 public String getDefaultDescription() { 123 return ("Test Schema"); 124 } 125 } 126 127 | Popular Tags |