|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.empire.commons.ErrorObject
org.apache.empire.db.DBObject
org.apache.empire.db.DBDatabase
org.apache.empire.samples.cxf.wssample.server.db.SampleDB
public class SampleDB
This file contains the definition of the data model in Java. The SampleDB data model consists of two tables and a foreign key relation. The tables are defined as nested classes here, but you may put the in separate files if you want. PLEASE NOTE THE NAMING CONVENTION: Since all tables, views and columns are declared as "final" constants they are all in upper case. We recommend using a prefix of T_ for tables and C_ for columns in order to keep them togehter when listed in your IDE's code completition. There is no need to stick to this convention but it makes life just another little bit easier. You may declare other database tables or views in the same way.
Nested Class Summary | |
---|---|
static class |
SampleDB.Departments
This class represents the definition of the Departments table. |
static class |
SampleDB.Employees
This class represents the definition of the Employees table. |
Nested classes/interfaces inherited from class org.apache.empire.db.DBDatabase |
---|
DBDatabase.DBSystemDate |
Nested classes/interfaces inherited from class org.apache.empire.commons.ErrorObject |
---|
ErrorObject.ObjectErrorInfo |
Field Summary | |
---|---|
SampleDB.Departments |
DEPARTMENTS
|
SampleDB.Employees |
EMPLOYEES
|
Fields inherited from class org.apache.empire.db.DBDatabase |
---|
driver, EMPTY_STRING, linkName, relations, schema, SYSDATE, tables, views |
Constructor Summary | |
---|---|
SampleDB()
Constructor of the SampleDB data model description Put all foreigen key realtions here. |
Method Summary |
---|
Methods inherited from class org.apache.empire.db.DBObject |
---|
error, error |
Methods inherited from class org.apache.empire.commons.ErrorObject |
---|
clearError, clearErrorInfo, error, error, error, error, error, error, error, getErrorInfo, getErrorMessage, getErrorParams, getErrorSource, getErrorType, getMessage, hasError, internalSetError, isExceptionsEnabled, setExceptionsEnabled, success |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final SampleDB.Departments DEPARTMENTS
public final SampleDB.Employees EMPLOYEES
Constructor Detail |
---|
public SampleDB()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |