org.LexGrid.LexBIG.admin
Class LoadMetadata

java.lang.Object
  extended by org.LexGrid.LexBIG.admin.LoadMetadata

public class LoadMetadata
extends java.lang.Object

Loads optional XML-based metadata to be associated with an existing coding scheme.

 Example: java org.LexGrid.LexBIG.admin.LoadMetadata
   -u,--urn <name> URN uniquely identifying the code system.
   -v,--version <id> Version identifier.
   -in,--input <uri> URI or path specifying location of the XML file.
   -v, --validate <int> Perform validation of the input file
         without loading data.  If specified, the '-f', and '-o'
         options are ignored.  Supported levels of validation include:
         0 = Verify document is valid
   -o, --overwrite If specified, existing metadata for the code system
         will be erased. Otherwise, new metadata will be appended to
         existing metadata (if present).  
   -f,--force Force overwrite (no confirmation).
 
 Note: If the URN and version values are unspecified, a
 list of available coding schemes will be presented for
 user selection.
 Example: java -Xmx512m -cp lgRuntime.jar
  org.LexGrid.LexBIG.admin.LoadMetadata -in "file:///path/to/file.xml" -o
 -or-
  org.LexGrid.LexBIG.admin.LoadMetadata -in "file:///path/to/file.xml"
 

Author:
Thomas Johnson

Constructor Summary
LoadMetadata()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run(java.lang.String[] args)
          Primary entry point for the program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadMetadata

public LoadMetadata()
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run(java.lang.String[] args)
         throws java.lang.Exception
Primary entry point for the program.

Throws:
java.lang.Exception

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.