org.objectweb.medor.query.jorm.lib

Class BasicJormField

Implemented Interfaces:
Cloneable, Field, JormField, NullStatus, QueryTreeField
Known Direct Subclasses:
PNameField

public class BasicJormField
extends BasicQueryTreeField
implements JormField

Author:
Sebastien Chassande-Barrioz

Field Summary

protected TypedElement
te

Fields inherited from class org.objectweb.medor.query.lib.BasicQueryTreeField

qt

Fields inherited from class org.objectweb.medor.lib.BasicField

logger, name, type, valueState

Fields inherited from interface org.objectweb.medor.api.Field

PNAMENAME

Fields inherited from interface org.objectweb.medor.api.NullStatus

NONULLS, NULLABLE, NULLABLEUNKNOWN

Constructor Summary

BasicJormField()
BasicJormField(String fieldName, QueryTree qt)
BasicJormField(String fieldName, QueryTree qt, TypedElement te)
BasicJormField(QueryTree qt, TypedElement te)

Method Summary

Object
clone(Object clone, Map obj2clone)
TypedElement
getTypedElement()
Returns the JORM meta object corresponding to the JORM Field.

Methods inherited from class org.objectweb.medor.query.lib.BasicQueryTreeField

clone, getQueryTree

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

clone, getName, getNullStatus, getType, toString

Field Details

te

protected TypedElement te

Constructor Details

BasicJormField

public BasicJormField()


BasicJormField

public BasicJormField(String fieldName,
                      QueryTree qt)
            throws MedorException


BasicJormField

public BasicJormField(String fieldName,
                      QueryTree qt,
                      TypedElement te)
            throws MedorException


BasicJormField

public BasicJormField(QueryTree qt,
                      TypedElement te)
            throws MedorException

Method Details

clone

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


getTypedElement

public TypedElement getTypedElement()
Returns the JORM meta object corresponding to the JORM Field.
Specified by:
getTypedElement in interface JormField

Returns:
the JORM meta object corresponding to the JORM Field, as a TypedElement.