uk.org.ogsadai.converters.webrowset.metadata
Class MetaDataContainer

java.lang.Object
  |
  +--uk.org.ogsadai.converters.webrowset.metadata.MetaDataContainer

public class MetaDataContainer
extends java.lang.Object

Stores the metadata of a relational database table column.

It holds a list of MetaDataElement objects in same order as a XML WebRowSet metadata element for a column. It also provides an iterator over this list.

Author:
The OGSA-DAI Team.

Field Summary
private static java.lang.String COPYRIGHT_NOTICE
           
 AutoIncrement mAutoIncrement
           
 CaseSensitive mCaseSensitive
           
 CatalogName mCatalogName
           
 ColumnDisplaySize mColumnDisplaySize
           
 ColumnLabel mColumnLabel
           
 ColumnName mColumnName
           
 ColumnPrecision mColumnPrecision
           
 ColumnScale mColumnScale
           
 ColumnType mColumnType
           
 ColumnTypeName mColumnTypeName
           
 Currency mCurrency
           
private  MetaDataElement mCurrentElement
           
 Nullable mNullable
           
 SchemaName mSchemaName
           
 Searchable mSearchable
           
 Signed mSigned
           
 TableName mTableName
           
 
Constructor Summary
MetaDataContainer()
          Constructs a new metadata container and defines the order of metadata elements (as in XML WebRowSet documents).
 
Method Summary
 MetaDataElement getNextElement()
          Get the next element in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_NOTICE

private static final java.lang.String COPYRIGHT_NOTICE
See Also:
Constant Field Values

mCurrentElement

private MetaDataElement mCurrentElement

mAutoIncrement

public AutoIncrement mAutoIncrement

mCaseSensitive

public CaseSensitive mCaseSensitive

mCurrency

public Currency mCurrency

mNullable

public Nullable mNullable

mSigned

public Signed mSigned

mSearchable

public Searchable mSearchable

mColumnDisplaySize

public ColumnDisplaySize mColumnDisplaySize

mColumnLabel

public ColumnLabel mColumnLabel

mColumnName

public ColumnName mColumnName

mSchemaName

public SchemaName mSchemaName

mColumnPrecision

public ColumnPrecision mColumnPrecision

mColumnScale

public ColumnScale mColumnScale

mTableName

public TableName mTableName

mCatalogName

public CatalogName mCatalogName

mColumnType

public ColumnType mColumnType

mColumnTypeName

public ColumnTypeName mColumnTypeName
Constructor Detail

MetaDataContainer

public MetaDataContainer()
Constructs a new metadata container and defines the order of metadata elements (as in XML WebRowSet documents).

Method Detail

getNextElement

public MetaDataElement getNextElement()
Get the next element in the list.

Returns:
the next element or null if the current element is the last in the list.