org.objectweb.medor.query.jorm.lib
Class GenClassExtent

java.lang.Object
  |
  +--org.objectweb.medor.query.jorm.lib.BasicJormExtent
        |
        +--org.objectweb.medor.query.jorm.lib.GenClassExtent
All Implemented Interfaces:
java.lang.Cloneable, Cloneable, JormExtent, QueryLeaf, QueryTree, TupleStructure

public class GenClassExtent
extends BasicJormExtent

This class represents the extent of a JORM GenClass. It contains and implements its associated TupleStructure.


Field Summary
 
Fields inherited from class org.objectweb.medor.query.jorm.lib.BasicJormExtent
fields, identifier, mapper, myStore, name, name2field, pnFieldName, projectName
 
Constructor Summary
GenClassExtent(GenClassRef gcr, java.lang.String _name, java.lang.String pnameFieldName, java.lang.String elemName)
          Constructs an extent for the JORM GenClass, in the form of a QueryLeaf.
 
Method Summary
 java.lang.String getElementFieldName()
           
 java.lang.String getJormName()
           
 MetaObject getMetaObject()
           
 
Methods inherited from class org.objectweb.medor.query.jorm.lib.BasicJormExtent
clone, contains, contains, getDataStore, getDistinct, getField, getField, getFieldName, getFieldRank, getFields, getIdentifierField, getName, getOrderBy, getPMapper, getPNameFieldName, getProjectName, getSize, getTupleStructure, iterateFields, setDataStore, setDistinct, setOrderBy, setPMapper, setProjectName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenClassExtent

public GenClassExtent(GenClassRef gcr,
                      java.lang.String _name,
                      java.lang.String pnameFieldName,
                      java.lang.String elemName)
               throws MedorException
Constructs an extent for the JORM GenClass, in the form of a QueryLeaf.

Parameters:
gcr - is the JORM GenClass meta information object
_name - is the name of the node (null value => empty string)
pnameFieldName - is the name of the field representing the PName of the GenClass id.
Method Detail

getElementFieldName

public java.lang.String getElementFieldName()

getMetaObject

public MetaObject getMetaObject()

getJormName

public java.lang.String getJormName()
Specified by:
getJormName in interface JormExtent
Specified by:
getJormName in class BasicJormExtent