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

java.lang.Object
  extended byBasicCloneable
      extended byorg.objectweb.medor.lib.BasicTupleStructure
          extended byorg.objectweb.medor.query.jorm.lib.BasicJormExtent
              extended byorg.objectweb.medor.query.jorm.lib.GenClassExtent
All Implemented Interfaces:
Cloneable, java.lang.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.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.objectweb.medor.query.jorm.lib.BasicJormExtent
identifier, includeSubclasses, mapper, myStore, name, pnFieldName, projectName
 
Fields inherited from class org.objectweb.medor.lib.BasicTupleStructure
fields, logger, name2field
 
Constructor Summary
GenClassExtent()
           
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.
GenClassExtent(java.lang.String _name, java.lang.String pnFieldName)
           
 
Method Summary
 java.lang.Object clone(java.lang.Object clone, java.util.Map obj2clone)
           
 java.lang.String getElementFieldName()
           
 java.lang.String getJormName()
           
 MetaObject getMetaObject()
           
 
Methods inherited from class org.objectweb.medor.query.jorm.lib.BasicJormExtent
getDataStore, getDistinct, getFieldName, getIdentifierField, getName, getOrderBy, getPMapper, getPNameFieldName, getProjectName, getTupleStructure, iterateFields, setDataStore, setDistinct, setOrderBy, setPMapper, setProjectName, setWithSubClasses, withSubClasses
 
Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure
contains, contains, getField, getField, getFieldRank, getFields, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.api.TupleStructure
contains, contains, getField, getField, getFieldRank, getFields, getSize
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 

Constructor Detail

GenClassExtent

public GenClassExtent()

GenClassExtent

public GenClassExtent(java.lang.String _name,
                      java.lang.String pnFieldName)

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

clone

public java.lang.Object clone(java.lang.Object clone,
                              java.util.Map obj2clone)
                       throws java.lang.CloneNotSupportedException
Overrides:
clone in class BasicJormExtent
Throws:
java.lang.CloneNotSupportedException

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