org.LexGrid.LexBIG.Preferences.loader.MetaLoadPreferences
Class MetaLoaderPreferences

java.lang.Object
  extended by org.LexGrid.LexBIG.Preferences.loader.LoadPreferences.LoaderPreferences
      extended by org.LexGrid.LexBIG.Preferences.loader.MetaLoadPreferences.MetaLoaderPreferences
All Implemented Interfaces:
java.io.Serializable

public class MetaLoaderPreferences
extends LoaderPreferences
implements java.io.Serializable

Class MetaLoaderPreferences.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
MetaLoaderPreferences()
           
 
Method Summary
 java.lang.String getXMLMetadataFilePath()
          Returns the value of field 'XMLMetadataFilePath'.
 void setXMLMetadataFilePath(java.lang.String XMLMetadataFilePath)
          Sets the value of field 'XMLMetadataFilePath'.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaLoaderPreferences

public MetaLoaderPreferences()
Method Detail

getXMLMetadataFilePath

public java.lang.String getXMLMetadataFilePath()
Returns the value of field 'XMLMetadataFilePath'. The field 'XMLMetadataFilePath' has the following description: The Metathesaurus distribution contains a compilation of several individual sources (e.g. ICD9, MeSH). Each source represents, in essence, a unique code system However, the LexBIG Meta loader is designed to load all Metathesaurus codes to a single LexGrid coding scheme for convenient load and query. Since there is only one coding scheme, metadata for individual sources must be stored separately. The loader solves this issue by storing the information to auxiliary metadata associated with the primary coding scheme. The auxiliary metadata complies with the LexGrid CodingSchemes model definition, with each Metathesaurus source represented by an individual CodingScheme and using standard LexGrid properties to describe the additional meta-information provided by NIH. As a convenience to the administrator, the auxiliary metadata generated by the loader can optionally be written to a specified file in the local file system. This preference is used to specify the location of the reference file. If this preference is absent, auxiliary metadata is still generated and assigned to the primary coding scheme but a temp file is used If specified and the file already exists, it is overwritten. If specified and the file does not exist, it is created by the loader.

Overrides:
getXMLMetadataFilePath in class LoaderPreferences
Returns:
the value of field 'XMLMetadataFilePath'.

setXMLMetadataFilePath

public void setXMLMetadataFilePath(java.lang.String XMLMetadataFilePath)
Sets the value of field 'XMLMetadataFilePath'. The field 'XMLMetadataFilePath' has the following description: The Metathesaurus distribution contains a compilation of several individual sources (e.g. ICD9, MeSH). Each source represents, in essence, a unique code system However, the LexBIG Meta loader is designed to load all Metathesaurus codes to a single LexGrid coding scheme for convenient load and query. Since there is only one coding scheme, metadata for individual sources must be stored separately. The loader solves this issue by storing the information to auxiliary metadata associated with the primary coding scheme. The auxiliary metadata complies with the LexGrid CodingSchemes model definition, with each Metathesaurus source represented by an individual CodingScheme and using standard LexGrid properties to describe the additional meta-information provided by NIH. As a convenience to the administrator, the auxiliary metadata generated by the loader can optionally be written to a specified file in the local file system. This preference is used to specify the location of the reference file. If this preference is absent, auxiliary metadata is still generated and assigned to the primary coding scheme but a temp file is used If specified and the file already exists, it is overwritten. If specified and the file does not exist, it is created by the loader.

Overrides:
setXMLMetadataFilePath in class LoaderPreferences
Parameters:
XMLMetadataFilePath - the value of field 'XMLMetadataFilePath'.

Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER.