|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.medor.optim.lib.BasicRule | +--org.objectweb.medor.optim.jorm.JormAssignMapperRule
It permits to assign the mappers to the JORM leaves.
This rule must be executed before the rewriting of the JORM leaves. Two maps are assigned to this rule.
The first map has the following caracteristics:
The second map has the following caracteristics:
Currently this rule does not take in account the possibility to map the same class several times into several mapper.
JormQueryTreeHelper
Nested Class Summary |
Nested classes inherited from class org.objectweb.medor.optim.lib.BasicRule |
BasicRule.ModifiedExpression |
Field Summary | |
protected java.util.Map |
jormName2Mapper
Deprecated. |
protected java.util.Map |
jormName2Project
Deprecated. |
Fields inherited from class org.objectweb.medor.optim.lib.BasicRule |
debug, log |
Constructor Summary | |
JormAssignMapperRule()
Deprecated. |
Method Summary | |
protected void |
assignMapper(QueryTree qt)
Deprecated. |
java.util.Map |
getJormName2Mapper()
Deprecated. |
QueryTree |
rewrite(QueryTree qt)
Deprecated. This method applies a single rule. |
void |
setJormName2Mapper(java.util.Map jormName2Mapper,
java.util.Map jormName2Project)
Deprecated. It assigns the map used in this rule. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Map jormName2Mapper
protected java.util.Map jormName2Project
Constructor Detail |
public JormAssignMapperRule()
Method Detail |
public java.util.Map getJormName2Mapper()
public void setJormName2Mapper(java.util.Map jormName2Mapper, java.util.Map jormName2Project)
jormName2Mapper
- is the mappublic QueryTree rewrite(QueryTree qt) throws MedorException
RewriteRule
rewrite
in interface RewriteRule
rewrite
in class BasicRule
qt
- the QueryTree to be rewritten
MedorException
protected void assignMapper(QueryTree qt) throws MedorException
MedorException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |