org.objectweb.medor.api
Interface Field

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

public interface Field
extends Cloneable

A Field is one of the components of a TupleStructure.

Author:
Sebastien Chassande-Barrioz
See Also:
TupleStructure

Field Summary
static short NONULLS
           
static short NULLABLE
           
static short NULLABLEUNKNOWN
           
static java.lang.String PNAMENAME
           
 
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
 

Field Detail

PNAMENAME

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

NONULLS

public static final short NONULLS
See Also:
Constant Field Values

NULLABLE

public static final short NULLABLE
See Also:
Constant Field Values

NULLABLEUNKNOWN

public static final short NULLABLEUNKNOWN
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