|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.data.RedefineManager
public final class RedefineManager
A static utility class used to selectivley enable redefines during component initialization.
To apply a redefine, one or more data models which contain redefine references should be registered with
the singleton instance of this class. All type hierarchies instantiated from that point on will check
this class for registered redefines.
Method Summary | |
---|---|
void |
clear()
Clears all registered models. |
static RedefineManager |
getInstance()
Returns the singleton instance of this class. |
boolean |
isEmpty()
Returns whether any models are currently registered. |
boolean |
isRegistered(DataModel model)
Returns whether the specified model is registered. |
DataComponent |
redefine(DataComponent redefined)
Attempts to find a redefine for redefined among the registered models. |
DataType |
redefine(DataType redefined)
Attempts to find a redefine for redefined among the registered models. |
void |
register(DataModel[] models)
Registers the specified set of models. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static RedefineManager getInstance()
public void register(DataModel[] models)
models
- The models to register.public void clear()
public boolean isRegistered(DataModel model)
model
- The model to test for.
public boolean isEmpty()
public DataType redefine(DataType redefined)
redefined
among the registered models.
redefined
- The type to check for.
redefined
if non could be found.public DataComponent redefine(DataComponent redefined)
redefined
among the registered models.
redefined
- The component to check for.
redefined
if non could be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |