org.objectweb.medor.query.jorm.api

Interface JormExtent

All Superinterfaces:
Cloneable, QueryLeaf, QueryTree
Known Implementing Classes:
BasicJormExtent, ClassExtent, GenClassExtent

public interface JormExtent
extends QueryLeaf

This class represent a a jorm query leaf.

Author:
S.Chassande-Barrioz

Method Summary

JormField
getIdentifierField()
String
getJormName()
MetaObject
getMetaObject()
PMapper
getPMapper()
String
getPNameFieldName()
String
getProjectName()
void
setDataStore(DataStore ds)
void
setPMapper(PMapper m, String projectName)
void
setProjectName(String projectName)
void
setWithSubClasses(boolean includeSubClasses)
Indicates whether the current Extent should also contain objects from the subclasses.
boolean
withSubClasses()
Tells whether the current Extent should also contain objects from the subclasses.

Methods inherited from interface org.objectweb.medor.query.api.QueryLeaf

getDataStore

Methods inherited from interface org.objectweb.medor.query.api.QueryTree

getDistinct, getName, getOrderBy, getTupleStructure, setDistinct, setOrderBy

Method Details

getIdentifierField

public JormField getIdentifierField()


getJormName

public String getJormName()


getMetaObject

public MetaObject getMetaObject()


getPMapper

public PMapper getPMapper()


getPNameFieldName

public String getPNameFieldName()


getProjectName

public String getProjectName()


setDataStore

public void setDataStore(DataStore ds)


setPMapper

public void setPMapper(PMapper m,
                       String projectName)


setProjectName

public void setProjectName(String projectName)


setWithSubClasses

public void setWithSubClasses(boolean includeSubClasses)
Indicates whether the current Extent should also contain objects from the subclasses.

The default is that only objects strictly in the current class are included, and not objects of the subclasses.

Parameters:
includeSubClasses - is true if objects from subclasses are to be included, false if only strict instances of the corresponding class should be included.


withSubClasses

public boolean withSubClasses()
Tells whether the current Extent should also contain objects from the subclasses.

The default is that only objects strictly in the current class are included, and not objects of the subclasses.

Returns:
true if objects from subclasses are to be included, false if only strict instances of the corresponding class should be included.