org.objectweb.medor.query.jorm.lib
Class GenClassExtent
java.lang.Object
BasicCloneable
org.objectweb.medor.lib.BasicTupleStructure
org.objectweb.medor.query.jorm.lib.BasicJormExtent
org.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
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)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.objectweb.medor.api.Cloneable |
clone |
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.
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