org.objectweb.medor.optim.jorm
Class RdbJormLeafRewriter

java.lang.Object
  |
  +--org.objectweb.medor.optim.lib.BasicRule
        |
        +--org.objectweb.medor.optim.jorm.JormRule
              |
              +--org.objectweb.medor.optim.jorm.JormLeafRewriter
                    |
                    +--org.objectweb.medor.optim.jorm.RdbJormLeafRewriter
All Implemented Interfaces:
LeafRewriter, RewriteRule

Deprecated. use FlattenQueryTreeRule and JormFlatten2Rdb

public class RdbJormLeafRewriter
extends JormLeafRewriter

Author:
S.Chassande-Barrioz
See Also:
FlattenQueryTreeRule, JormFlatten2Rdb

Nested Class Summary
 
Nested classes inherited from class org.objectweb.medor.optim.lib.BasicRule
BasicRule.ModifiedExpression
 
Field Summary
static java.lang.String MAPPER_NAME
          Deprecated.  
 
Fields inherited from class org.objectweb.medor.optim.lib.BasicRule
debug, log
 
Constructor Summary
RdbJormLeafRewriter()
          Deprecated.  
 
Method Summary
 QueryTreeField addPrimitiveElement(QueryLeaf neo, PrimitiveElement pe, JormExtent extent)
          Deprecated.  
 boolean canRewrite(QueryLeaf ql)
          Deprecated. It returns true is the QueryLeaf can be rewrite by this LeafRewriter.
 QueryLeaf createQueryLeaf(JormExtent extent)
          Deprecated.  
 
Methods inherited from class org.objectweb.medor.optim.jorm.JormLeafRewriter
addReference, getField, getFieldName, getShortFieldName, rewrite, rewrite
 
Methods inherited from class org.objectweb.medor.optim.jorm.JormRule
getClassMapping, getGenClassMapping, getJORMFieldName, getPEM, getPNCOperand, getPrimitiveElement
 
Methods inherited from class org.objectweb.medor.optim.lib.BasicRule
replaceUsage, rewrite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAPPER_NAME

public static final java.lang.String MAPPER_NAME
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

RdbJormLeafRewriter

public RdbJormLeafRewriter()
Deprecated. 
Method Detail

canRewrite

public boolean canRewrite(QueryLeaf ql)
Deprecated. 
Description copied from interface: LeafRewriter
It returns true is the QueryLeaf can be rewrite by this LeafRewriter.

Specified by:
canRewrite in interface LeafRewriter
Specified by:
canRewrite in class JormLeafRewriter

createQueryLeaf

public QueryLeaf createQueryLeaf(JormExtent extent)
                          throws MedorException
Deprecated. 
Specified by:
createQueryLeaf in class JormLeafRewriter
MedorException

addPrimitiveElement

public QueryTreeField addPrimitiveElement(QueryLeaf neo,
                                          PrimitiveElement pe,
                                          JormExtent extent)
                                   throws MedorException
Deprecated. 
Specified by:
addPrimitiveElement in class JormLeafRewriter
MedorException