org.objectweb.medor.lib
Class BasicMultivaluedField

java.lang.Object
  extended byorg.objectweb.medor.lib.BasicTupleStructure
      extended byorg.objectweb.medor.lib.BasicMultivaluedField
All Implemented Interfaces:
Cloneable, java.lang.Cloneable, Field, MultivaluedField, TupleStructure
Direct Known Subclasses:
BasicNestedField

public class BasicMultivaluedField
extends BasicTupleStructure
implements MultivaluedField


Field Summary
protected  java.lang.String name
           
protected  PType type
           
 
Fields inherited from class org.objectweb.medor.lib.BasicTupleStructure
fields, name2field
 
Fields inherited from interface org.objectweb.medor.api.Field
NONULLS, NULLABLE, NULLABLEUNKNOWN, PNAMENAME
 
Constructor Summary
BasicMultivaluedField(java.lang.String name, Field[] fields)
           
 
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
 
Methods inherited from class org.objectweb.medor.lib.BasicTupleStructure
contains, contains, getField, getField, getFieldRank, getFields, getSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.objectweb.medor.api.TupleStructure
contains, contains, getField, getField, getFieldRank, getFields, getSize
 

Field Detail

name

protected java.lang.String name

type

protected PType type
Constructor Detail

BasicMultivaluedField

public BasicMultivaluedField(java.lang.String name,
                             Field[] fields)
                      throws MedorException
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface Cloneable
Overrides:
clone in class BasicTupleStructure
Throws:
java.lang.CloneNotSupportedException

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