net.sf.farrago.rng
Class FarragoRngPluginFactory.RngModelExtension
java.lang.Object
net.sf.farrago.rng.FarragoRngPluginFactory.RngModelExtension
- All Implemented Interfaces:
- FarragoSessionModelExtension
- Enclosing class:
- FarragoRngPluginFactory
public static class FarragoRngPluginFactory.RngModelExtension
- extends Object
- implements FarragoSessionModelExtension
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FarragoRngPluginFactory.RngModelExtension
public FarragoRngPluginFactory.RngModelExtension()
defineDdlHandlers
public void defineDdlHandlers(FarragoSessionDdlValidator ddlValidator,
List<DdlHandler> handlerList)
- Description copied from interface:
FarragoSessionModelExtension
- Defines the handlers to be used to validate and execute DDL actions for
object types in this model extension. See
FarragoSessionDdlHandler
for an explanation of how to define the handler
objects in this list. Optionally, may also define drop rules.
- Specified by:
defineDdlHandlers
in interface FarragoSessionModelExtension
- Parameters:
ddlValidator
- validator which will invoke handlershandlerList
- receives handler objects in order in which they should
defineResourceBundles
public void defineResourceBundles(List<ResourceBundle> bundleList)
- Description copied from interface:
FarragoSessionModelExtension
- Defines resource bundles to be used for localizing model object names.
Any resource having a name of the form "UmlXXX" will be interpreted as
the localized name for UML class XXX.
- Specified by:
defineResourceBundles
in interface FarragoSessionModelExtension
- Parameters:
bundleList
- receives instances of ResourceBundle
definePrivileges
public void definePrivileges(FarragoSessionPrivilegeMap map)
- Description copied from interface:
FarragoSessionModelExtension
- Defines privileges allowed on various object types.
- Specified by:
definePrivileges
in interface FarragoSessionModelExtension
- Parameters:
map
- receives allowed privileges