edu.jhu.tmaj.client.importer.specimens.data
Class MetaDataConverter

java.lang.Object
  extended by edu.jhu.tmaj.client.importer.specimens.data.MetaDataConverter
All Implemented Interfaces:
java.io.Serializable

public final class MetaDataConverter
extends java.lang.Object
implements java.io.Serializable

A utility class used by the Specimen-Importer for importing dynamic-data. This class is created from DynamicMetaData and is used to translate meta-data in string format to enumerated (integer) values, unless the field is non-enumerated.

See Also:
Serialized Form

Constructor Summary
MetaDataConverter(DynamicMetaData dynamicMetaData)
           
 
Method Summary
 DynamicMetaData getDynamicMetaData()
           
 DynamicValue getDynamicValue(int fieldID, java.lang.String value)
          Returns a DynamicValue (either an EnumID or String) given a fieldID and a text-value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaDataConverter

public MetaDataConverter(DynamicMetaData dynamicMetaData)
Method Detail

getDynamicMetaData

public DynamicMetaData getDynamicMetaData()

getDynamicValue

public DynamicValue getDynamicValue(int fieldID,
                                    java.lang.String value)
Returns a DynamicValue (either an EnumID or String) given a fieldID and a text-value.