org.d2rq.lang
Class D2RQCompiler
java.lang.Object
org.d2rq.lang.D2RQCompiler
- All Implemented Interfaces:
- D2RQMappingVisitor
public class D2RQCompiler
- extends Object
- implements D2RQMappingVisitor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
D2RQCompiler
public D2RQCompiler(Mapping mapping)
setReport
public void setReport(Report report)
getResult
public CompiledD2RQMapping getResult()
useConnection
public void useConnection(SQLConnection sqlConnection)
- Allows injection of an existing
SQLConnection
. When a
connection to this one's JDBC URL is needed, then the connection
details specified in the mapping will be ignored, and instead this
one will be used.
visitEnter
public boolean visitEnter(Mapping mapping)
- Specified by:
visitEnter
in interface D2RQMappingVisitor
visitLeave
public void visitLeave(Mapping mapping)
- Specified by:
visitLeave
in interface D2RQMappingVisitor
visit
public void visit(Configuration configuration)
- Specified by:
visit
in interface D2RQMappingVisitor
visit
public void visit(Database database)
- Specified by:
visit
in interface D2RQMappingVisitor
visitEnter
public boolean visitEnter(ClassMap classMap)
- Specified by:
visitEnter
in interface D2RQMappingVisitor
visitLeave
public void visitLeave(ClassMap classMap)
- Specified by:
visitLeave
in interface D2RQMappingVisitor
visit
public void visit(PropertyBridge propertyBridge)
- Specified by:
visit
in interface D2RQMappingVisitor
visit
public void visit(DownloadMap downloadMap)
- Specified by:
visit
in interface D2RQMappingVisitor
visit
public void visit(TranslationTable translationTable)
- Specified by:
visit
in interface D2RQMappingVisitor