net.sf.farrago.fennel.tuple
Class FennelTupleAttributeDescriptor

java.lang.Object
  extended by net.sf.farrago.fennel.tuple.FennelTupleAttributeDescriptor
All Implemented Interfaces:
Serializable

public class FennelTupleAttributeDescriptor
extends Object
implements Serializable

FennelTupleAttributeDescriptor holds metadata describing a particular entry in a tuple. These are contained in a FennelTupleDescriptor object to describe the layout of a tuple. This class is JDK 1.4 compatible.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/fennel/tuple/FennelTupleAttributeDescriptor.java#9 $
Author:
Mike Bennett
See Also:
Serialized Form

Field Summary
 boolean isNullable
          is this attribute nullable?
private static long serialVersionUID
          SerialVersionUID created with JDK 1.5 serialver tool.
 int storageSize
          the amount of storage, in bytes, taken by this attribute.
 FennelStoredTypeDescriptor typeDescriptor
          the FennelStoredTypeDescriptor of this attribute.
 
Constructor Summary
FennelTupleAttributeDescriptor()
          Default constructor -- shouldn't be used in normal situations.
FennelTupleAttributeDescriptor(FennelStoredTypeDescriptor typeDescriptor, boolean isNullable, int storageSizeInit)
          Normal constructor
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
SerialVersionUID created with JDK 1.5 serialver tool.

See Also:
Constant Field Values

typeDescriptor

public FennelStoredTypeDescriptor typeDescriptor
the FennelStoredTypeDescriptor of this attribute.


isNullable

public boolean isNullable
is this attribute nullable?


storageSize

public int storageSize
the amount of storage, in bytes, taken by this attribute.

Constructor Detail

FennelTupleAttributeDescriptor

public FennelTupleAttributeDescriptor()
Default constructor -- shouldn't be used in normal situations.


FennelTupleAttributeDescriptor

public FennelTupleAttributeDescriptor(FennelStoredTypeDescriptor typeDescriptor,
                                      boolean isNullable,
                                      int storageSizeInit)
Normal constructor