org.objectweb.medor.query.api
Interface PropagatedField

All Superinterfaces:
java.lang.Cloneable, Cloneable, java.lang.Comparable, Field, NullStatus, QueryTreeField
All Known Subinterfaces:
PropagFromNestedField
All Known Implementing Classes:
BasicPropagatedField, BasicPropagFromNestedField

public interface PropagatedField
extends QueryTreeField

A PropagatedField is a Field that takes its value from Fields of the children query trees (called previous fields).

Author:
Sebastien Chassande-Barrioz

Field Summary
 
Fields inherited from interface org.objectweb.medor.api.Field
PNAMENAME
 
Fields inherited from interface org.objectweb.medor.api.NullStatus
NONULLS, NULLABLE, NULLABLEUNKNOWN
 
Method Summary
 int getIndex()
          The index of this Field in the array made of the concatenation of the tuples from the children QueryTrees.
 Field[] getOriginFields()
           
 Field[] getPreviousFields()
           
 Field[] getPreviousFields(java.lang.String oldFieldName)
           
 void replacePreviousField(Field[] neo)
           
 void setIndex(int idx)
           
 
Methods inherited from interface org.objectweb.medor.query.api.QueryTreeField
getQueryTree
 
Methods inherited from interface org.objectweb.medor.api.Field
getName, getNullStatus, getType
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getPreviousFields

public Field[] getPreviousFields()

getPreviousFields

public Field[] getPreviousFields(java.lang.String oldFieldName)

getOriginFields

public Field[] getOriginFields()

getIndex

public int getIndex()
The index of this Field in the array made of the concatenation of the tuples from the children QueryTrees. This information is used to pick the right value at evaluation time from this concatenated tuple to put it in the result Tuple.


setIndex

public void setIndex(int idx)

replacePreviousField

public void replacePreviousField(Field[] neo)