org.LexGrid.LexBIG.admin
Class LoadRadLexProtegeFrames

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

public class LoadRadLexProtegeFrames
extends java.lang.Object

Imports from an FMA database to a LexBIG repository. require that the pprj file be configured with database URN, username, password for an FMA MySQL based database The FMA.pprj file and MySQL dump file are available at http://sig.biostr.washington.edu/projects/fm/ upon registration.

 Example: java org.LexGrid.LexBIG.admin.LoadFMA
   -in,--input <uri> URI or path specifying location of the source file
   -mf,--manifest <uri> URI or path specifying location of the manifest file
   -v, --validate <int> Perform validation of the candidate
         resource without loading data.  If specified, the '-a' and '-t'
         options are ignored.  Supported levels of validation include:
         0 = Verify document is well-formed
         1 = Verify document is valid
   -a, --activate ActivateScheme on successful load; if unspecified the vocabulary is loaded but not activated
   -t, --tag <id> An optional tag ID (e.g. 'PRODUCTION' or 'TEST') to assign. 
 
 Example: java -Xmx800m -cp lgRuntime.jar
  org.LexGrid.LexBIG.admin.LoadFMA -in "file:///path/to/FMA.pprj" -a
 -or-
  org.LexGrid.LexBIG.admin.LoadFMA -in "file:///path/to/FMA.pprj" -v 0
 

Author:
Thomas Johnson

Constructor Summary
LoadRadLexProtegeFrames()
           
 
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

LoadRadLexProtegeFrames

public LoadRadLexProtegeFrames()
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.