|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.counterclaim.openefm.model.ModelFactory
Creates ObjectModel instances on demand.

| Field Summary | |
private static org.apache.log4j.Logger |
log
Deprecated. |
private static java.util.Map |
modelMap
Deprecated. Map of *Model.NAME strings to *Model.class Class objects. |
| Constructor Summary | |
private |
ModelFactory()
Deprecated. This class should never be instanciated, so the default constructer is private. |
| Method Summary | |
static ObjectModel |
createModel(java.lang.String modelName)
Deprecated. Creates a new ObjectManager subtype for the name provided.
|
static void |
putModel(java.lang.String modelName,
java.lang.Class modelClass)
Deprecated. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static org.apache.log4j.Logger log
private static java.util.Map modelMap
*Model.NAME strings to *Model.class Class objects.
| Constructor Detail |
private ModelFactory()
| Method Detail |
public static ObjectModel createModel(java.lang.String modelName)
throws ModelException
ObjectManager subtype for the name provided.
Example:
UserProfileModel userModel = (UserProfileModel) ModelFactory.createModel(UserProfileModel.NAME);
ModelExceptionmodelName - of the ObjectModel desired. Taken from *Model.NAME.
ObjectModel. Cast this to the correct subtype!
Returns null if no model exists by given name.
public static void putModel(java.lang.String modelName,
java.lang.Class modelClass)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||