com.simba.dsi.dataengine.utilities
Class MetadataColumn

java.lang.Object
  extended by com.simba.dsi.dataengine.utilities.ColumnMetadata
      extended by com.simba.dsi.dataengine.utilities.MetadataColumn
All Implemented Interfaces:
IColumn

public class MetadataColumn
extends ColumnMetadata

Child class of DSIColumn that provides the metadata column tags.


Constructor Summary
MetadataColumn(TypeMetadata typeMetadata, MetadataSourceColumnTag tag)
          Constructor.
 
Method Summary
 MetadataSourceColumnTag getColumnTag()
          Returns the column tag for this metadata column.
 boolean isNullColumn()
          Get if this column is a "null" column.
 void setNullColumn(boolean isNull)
          Set if this column is a "null" column.
 java.lang.String toString()
          Return a string representation of this object.
 
Methods inherited from class com.simba.dsi.dataengine.utilities.ColumnMetadata
copyOf, equals, getCatalogName, getColumnLength, getDisplaySize, getLabel, getName, getNullable, getSchemaName, getSearchable, getTableName, getTypeMetadata, getUpdatable, hashCode, isAutoUnique, isCaseSensitive, isDefinitelyWritable, isUnnamed, setAutoUnique, setCaseSensitive, setCatalogName, setColumnLength, setLabel, setName, setNullable, setSchemaName, setSearchable, setTableName, setTypeMetadata, setUpdatable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MetadataColumn

public MetadataColumn(TypeMetadata typeMetadata,
                      MetadataSourceColumnTag tag)
               throws java.lang.NullPointerException
Constructor.

Sets the TypeMetadata to typeMetadata. The typeMetadata argument cannot be null or an exception will be thrown.

All other fields are set to the following defaults:

Parameters:
typeMetadata - The metadata related to the column's type. This cannot be null.
tag - The metadata column tag.
Throws:
java.lang.NullPointerException - if typeMetadata is null.
Method Detail

getColumnTag

public MetadataSourceColumnTag getColumnTag()
Returns the column tag for this metadata column.

Returns:
The column tag for this column.

isNullColumn

public boolean isNullColumn()
Get if this column is a "null" column.

Returns:
true if the column is null; false otherwise.

setNullColumn

public void setNullColumn(boolean isNull)
Set if this column is a "null" column.

Parameters:
isNull - True if the column is null; false otherwise.

toString

public java.lang.String toString()
Return a string representation of this object.

Overrides:
toString in class ColumnMetadata
Returns:
A string representation of this object.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.