Klasse IncludeSchemaTransformer
java.lang.Object
org.apache.torque.templates.transformer.IncludeSchemaTransformer
- Alle implementierten Schnittstellen:
SourceTransformer
A SourceTransformer which includes other schemata into the current graph.
- Version:
- $Id: IncludeSchemaTransformer.java 1850969 2019-01-10 18:09:47Z painter $
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungStandard constructor.IncludeSchemaTransformer(File baseDir) Constructor to override base dir. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungtransform(Object modelRoot, ControllerState controllerState) Loads the included schema objects into the current source graph.transform(Database database, ControllerState controllerState) Loads the included schema content into the current model.
-
Konstruktordetails
-
IncludeSchemaTransformer
public IncludeSchemaTransformer()Standard constructor. -
IncludeSchemaTransformer
Constructor to override base dir.- Parameter:
baseDir- the new base dir.
-
-
Methodendetails
-
transform
public SourceElement transform(Object modelRoot, ControllerState controllerState) throws SourceTransformerException Loads the included schema objects into the current source graph.- Angegeben von:
transformin SchnittstelleSourceTransformer- Parameter:
modelRoot- the database root element of the source tree, not null.controllerState- the controller state, not null.- Löst aus:
SourceTransformerException- if the transformation fails.
-
transform
public Database transform(Database database, ControllerState controllerState) throws SourceTransformerException Loads the included schema content into the current model.- Parameter:
database- the database root element of the source tree, not null.controllerState- the controller state, not null.- Gibt zurück:
- Database object
- Löst aus:
SourceTransformerException- if the transformation fails.
-