public class DatabaseMapInitTransformer extends AttributeTransformer
| Constructor and Description |
|---|
DatabaseMapInitTransformer()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
setDatabaseMapInitClassNameAttributes(SourceElement sourceElement,
String databaseName,
ControllerState controllerState)
Sets the databaseMapInitClassName and baseDatabaseMapInitClassName
attributes on a source element.
|
SourceElement |
transform(Object modelRoot,
ControllerState controllerState) |
public DatabaseMapInitTransformer()
throws SourceTransformerException
SourceTransformerException - if the attribute map is malformed.public SourceElement transform(Object modelRoot, ControllerState controllerState) throws SourceTransformerException
transform in interface SourceTransformertransform in class AttributeTransformerSourceTransformerExceptionpublic static void setDatabaseMapInitClassNameAttributes(SourceElement sourceElement, String databaseName, ControllerState controllerState)
sourceElement - the element where the attribute should be set,
not null.databaseName - the name of the database element, not null.controllerState - the controller state, not null.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.