org.objectweb.medor.query.jorm.lib

Class GenClassExtent

Implemented Interfaces:
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

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, String _name, String pnameFieldName, String elemName)
Constructs an extent for the JORM GenClass, in the form of a QueryLeaf.
GenClassExtent(String _name, String pnFieldName)

Method Summary

Object
clone(Object clone, Map obj2clone)
String
getElementFieldName()
String
getJormName()
MetaObject
getMetaObject()

Methods inherited from class org.objectweb.medor.query.jorm.lib.BasicJormExtent

clone, getDataStore, getDistinct, getFieldName, getIdentifierField, getJormName, getName, getOrderBy, getPMapper, getPNameFieldName, getProjectName, getTupleStructure, iterateFields, setDataStore, setDistinct, setOrderBy, setPMapper, setProjectName, setWithSubClasses, withSubClasses

Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure

clone, contains, contains, getField, getField, getFieldRank, getFields, getSize

Constructor Details

GenClassExtent

public GenClassExtent()


GenClassExtent

public GenClassExtent(GenClassRef gcr,
                      String _name,
                      String pnameFieldName,
                      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.


GenClassExtent

public GenClassExtent(String _name,
                      String pnFieldName)

Method Details

clone

public Object clone(Object clone,
                    Map obj2clone)
            throws CloneNotSupportedException
Overrides:
clone in interface BasicJormExtent


getElementFieldName

public String getElementFieldName()


getJormName

public String getJormName()
Specified by:
getJormName in interface JormExtent
Overrides:
getJormName in interface BasicJormExtent


getMetaObject

public MetaObject getMetaObject()
Specified by:
getMetaObject in interface JormExtent