cfa.vo.sed.io.util
Class ColumnInfo

java.lang.Object
  extended by cfa.vo.sed.io.util.ColumnInfo

public class ColumnInfo
extends java.lang.Object


Constructor Summary
ColumnInfo()
           
ColumnInfo(java.lang.String name, java.lang.String datatype)
           
ColumnInfo(java.lang.String name, java.lang.String format, java.lang.String ucd, int colIndex)
           
ColumnInfo(java.lang.String name, java.lang.String format, java.lang.String ucd, java.lang.String unit, int colIndex)
           
 
Method Summary
 int getColumnIndex()
          Gets the index of the column in the Fits file.
 java.lang.String getFormat()
          Gets the value of the format (datatype) property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getUCD()
          Gets the value of the UCD property.
 java.lang.String getUnit()
          Gets the value of the units property.
 java.lang.String getUtype()
          Gets the value of the utype property.
 void setColumnIndex(int columnIndex)
          Sets the value of the index of the column in the Fits file.
 void setFormat(java.lang.String format)
          Sets the value of the format (datatype) property
 void setName(java.lang.String name)
          Sets the value of the name property
 void setUCD(java.lang.String ucd)
          Sets the value of the UCD property
 void setUnit(java.lang.String unit)
          Sets the value of the unit property
 void setUtype(java.lang.String utype)
          Sets the value of the utype property
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ColumnInfo

public ColumnInfo()

ColumnInfo

public ColumnInfo(java.lang.String name,
                  java.lang.String datatype)

ColumnInfo

public ColumnInfo(java.lang.String name,
                  java.lang.String format,
                  java.lang.String ucd,
                  int colIndex)

ColumnInfo

public ColumnInfo(java.lang.String name,
                  java.lang.String format,
                  java.lang.String ucd,
                  java.lang.String unit,
                  int colIndex)
Method Detail

getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String name)
Sets the value of the name property

Parameters:
name - allowed object is String

getFormat

public java.lang.String getFormat()
Gets the value of the format (datatype) property.

Returns:
possible object is String

setFormat

public void setFormat(java.lang.String format)
Sets the value of the format (datatype) property

Parameters:
format - allowed object is String

getUCD

public java.lang.String getUCD()
Gets the value of the UCD property.

Returns:
possible object is String

setUCD

public void setUCD(java.lang.String ucd)
Sets the value of the UCD property

Parameters:
ucd - allowed object is String

getUnit

public java.lang.String getUnit()
Gets the value of the units property.

Returns:
possible object is String

setUnit

public void setUnit(java.lang.String unit)
Sets the value of the unit property

Parameters:
unit - allowed object is String

getUtype

public java.lang.String getUtype()
Gets the value of the utype property.

Returns:
possible object is String

setUtype

public void setUtype(java.lang.String utype)
Sets the value of the utype property

Parameters:
utype - allowed object is String

getColumnIndex

public int getColumnIndex()
Gets the index of the column in the Fits file.

Returns:
possible object is int

setColumnIndex

public void setColumnIndex(int columnIndex)
Sets the value of the index of the column in the Fits file. Can set to null if not using for Fits purposes.

Parameters:
columnIndex - allowed object is int

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object