org.objectweb.medor.api
Interface Field

All Superinterfaces:
java.lang.Cloneable, Cloneable, java.lang.Comparable, NullStatus
All Known Subinterfaces:
CalculatedField, MultivaluedField, NestedField, PropagatedField, PropagFromNestedField, QueryTreeField, RdbExpField, RdbField, RdbFieldOperand
All Known Implementing Classes:
BasicCalculatedField, BasicField, BasicMultivaluedField, BasicNestedField, BasicPropagatedField, BasicPropagFromNestedField, BasicQueryTreeField, BasicRdbExpField, BasicRdbField, BasicRdbFieldOperand

public interface Field
extends Cloneable, NullStatus, java.lang.Comparable

A Field is one of the components of a TupleStructure.

Author:
Sebastien Chassande-Barrioz
See Also:
TupleStructure

Field Summary
static java.lang.String PNAMENAME
           
 
Fields inherited from interface org.objectweb.medor.api.NullStatus
NONULLS, NULLABLE, NULLABLEUNKNOWN
 
Method Summary
 java.lang.String getName()
          Returns the Field name
 short getNullStatus()
          What is the status of the Field regarding null values (NullStatus).
 PType getType()
          Returns the field type, as a PType
 
Methods inherited from interface org.objectweb.medor.api.Cloneable
clone
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

PNAMENAME

public static final java.lang.String PNAMENAME
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Returns the Field name

Returns:
the Field name

getType

public PType getType()
Returns the field type, as a PType

Returns:
the Field type

getNullStatus

public short getNullStatus()
What is the status of the Field regarding null values (NullStatus).

Returns:
the Null status of the Field
See Also:
NullStatus