org.objectweb.medor.lib
Class BasicField

java.lang.Object
  extended byorg.objectweb.medor.lib.BasicField
All Implemented Interfaces:
Cloneable, java.lang.Cloneable, Field
Direct Known Subclasses:
BasicPropagatedField, BasicQueryTreeField, BasicRdbField

public class BasicField
extends java.lang.Object
implements Field


Field Summary
 
Fields inherited from interface org.objectweb.medor.api.Field
NONULLS, NULLABLE, NULLABLEUNKNOWN, PNAMENAME
 
Constructor Summary
BasicField(java.lang.String name, PType type)
           
BasicField(java.lang.String name, PType type, short valueState)
           
 
Method Summary
 java.lang.Object clone()
           
 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
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicField

public BasicField(java.lang.String name,
                  PType type)

BasicField

public BasicField(java.lang.String name,
                  PType type,
                  short valueState)
           throws MedorException
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Field
Returns the Field name

Specified by:
getName in interface Field
Returns:
the Field name

getType

public PType getType()
Description copied from interface: Field
Returns the field type, as a PType

Specified by:
getType in interface Field
Returns:
the Field type

getNullStatus

public short getNullStatus()
Description copied from interface: Field
What is the status of the Field regarding null values (NullStatus).

Specified by:
getNullStatus in interface Field
Returns:
the Null status of the Field
See Also:
NullStatus

toString

public java.lang.String toString()

clone

public java.lang.Object clone()
Specified by:
clone in interface Cloneable