|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dataobjects.DataObjectFactory
Constructs 'often' DataObjects based upon standard order of initialization and the interfaces it implements. For example, Defineable objects must have setDefinition() called first, then setDataContext(), then setUid()
| Method Summary | |
static DataObject |
createDataObject(Class clazz,
String dataContext,
int uid)
Typesafe way of creating a data object that doesn't implement Defineable |
static DataObject |
createDataObject(Class clazz,
String dataContext,
String definition,
int uid)
Typesafe way of creating a dataobject |
static Object |
createObject(Class clazz,
String dataContext,
int uid)
Creates an object that doesn't implement Defineable. |
static Object |
createObject(Class clazz,
String dataContext,
String definition,
int uid)
Create an object given the class, datacontext, definition and uid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Object createObject(Class clazz,
String dataContext,
int uid)
throws DataException
clazz - Object class namedataContext - Database contextuid - the user id that will be set if the object is Securable
DataException - upon error
public static DataObject createDataObject(Class clazz,
String dataContext,
int uid)
throws DataException
clazz - Object classdataContext - Database contextuid - the user id that will be set if the object is Securable
DataException - upon error
public static DataObject createDataObject(Class clazz,
String dataContext,
String definition,
int uid)
throws DataException
definition - The definition to define the Defineable Object. If
the object does not implement Defineable, this parameter may be null.clazz - Object classdataContext - Database contextuid - the user id that will be set if the object is Securable
DataException - upon error
public static Object createObject(Class clazz,
String dataContext,
String definition,
int uid)
throws DataException
definition - The definition to define the Defineable Object. If
the object does not implement Defineable, this parameter may be null.clazz - Object classdataContext - Database contextuid - the user id that will be set if the object is Securable
DataException - upon error
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||