Package ome.metakit

Class Column


  • public class Column
    extends java.lang.Object
    Class representing a column in a Metakit database file.
    Author:
    Melissa Linkert melissa at glencoesoftware.com
    • Constructor Summary

      Constructors 
      Constructor Description
      Column​(java.lang.String definition)
      Construct a new column from the given string representation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getName()
      Retrieve the name of the column.
      java.lang.Class getType()
      Retrieve the Class corresponding to the column's type.
      java.lang.String getTypeString()
      Retrieve a string representation of the type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Column

        public Column​(java.lang.String definition)
        Construct a new column from the given string representation. The string representation should take the form name:type, e.g. "fieldID:I".
    • Method Detail

      • getName

        public java.lang.String getName()
        Retrieve the name of the column.
      • getTypeString

        public java.lang.String getTypeString()
        Retrieve a string representation of the type. Valid values are "I", "F", "B", "S", "D", and "L".
      • getType

        public java.lang.Class getType()
        Retrieve the Class corresponding to the column's type.