org.LexGrid.LexBIG.example
Class FindPropsAndAssocForCode

java.lang.Object
  extended by org.LexGrid.LexBIG.example.FindPropsAndAssocForCode

public class FindPropsAndAssocForCode
extends java.lang.Object

Example showing how to find concept properties and associations based on a code.


Constructor Summary
FindPropsAndAssocForCode()
           
 
Method Summary
static void main(java.lang.String[] args)
          Entry point for processing.
protected  void printFrom(java.lang.String code, LexBIGService lbSvc, java.lang.String scheme, CodingSchemeVersionOrTag csvt)
          Display relations to the given code from other concepts.
protected  boolean printProps(java.lang.String code, LexBIGService lbSvc, java.lang.String scheme, CodingSchemeVersionOrTag csvt)
          Display properties for the given code.
protected  void printTo(java.lang.String code, LexBIGService lbSvc, java.lang.String scheme, CodingSchemeVersionOrTag csvt)
          Display relations from the given code to other concepts.
 void run(java.lang.String code)
          Process the provided code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindPropsAndAssocForCode

public FindPropsAndAssocForCode()
Method Detail

main

public static void main(java.lang.String[] args)
Entry point for processing.

Parameters:
args -

run

public void run(java.lang.String code)
         throws LBException
Process the provided code.

Parameters:
code -
Throws:
LBException

printProps

protected boolean printProps(java.lang.String code,
                             LexBIGService lbSvc,
                             java.lang.String scheme,
                             CodingSchemeVersionOrTag csvt)
                      throws LBException
Display properties for the given code.

Parameters:
code -
lbSvc -
scheme -
csvt -
Returns:
Throws:
LBException

printFrom

protected void printFrom(java.lang.String code,
                         LexBIGService lbSvc,
                         java.lang.String scheme,
                         CodingSchemeVersionOrTag csvt)
                  throws LBException
Display relations to the given code from other concepts.

Parameters:
code -
lbSvc -
scheme -
csvt -
Throws:
LBException

printTo

protected void printTo(java.lang.String code,
                       LexBIGService lbSvc,
                       java.lang.String scheme,
                       CodingSchemeVersionOrTag csvt)
                throws LBException
Display relations from the given code to other concepts.

Parameters:
code -
lbSvc -
scheme -
csvt -
Throws:
LBException

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.