org.LexGrid.LexBIG.Impl.function
Class TestUtil

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.function.TestUtil

public class TestUtil
extends java.lang.Object


Constructor Summary
TestUtil()
           
 
Method Summary
static boolean activateScheme(java.lang.String urn, java.lang.String version)
          Activate a coding scheme.
static boolean deactivateScheme(java.lang.String urn, java.lang.String version)
          Deactivate a coding scheme.
static boolean removeScheme(java.lang.String urn, java.lang.String version)
          Remove a coding scheme.
static boolean verifyScheme(java.lang.String localName, java.lang.String urn, java.lang.String version, CodingSchemeVersionStatus status)
          Indicates whether a scheme is registered with the specified state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestUtil

public TestUtil()
Method Detail

verifyScheme

public static boolean verifyScheme(java.lang.String localName,
                                   java.lang.String urn,
                                   java.lang.String version,
                                   CodingSchemeVersionStatus status)
                            throws LBInvocationException
Indicates whether a scheme is registered with the specified state.

Parameters:
testid -
localName - Local name to match; null to match any.
urn - URN to match; null to match any.
version - Version represented by scheme; null to match any.
status - One of values enumerated on CodingSchemeVersionStatus; <0 to match any.
Returns:
true if scheme exists with given status; false otherwise.
Throws:
LBInvocationException

activateScheme

public static boolean activateScheme(java.lang.String urn,
                                     java.lang.String version)
                              throws LBException
Activate a coding scheme.

Parameters:
testid -
urn -
version -
Returns:
true if successful; false otherwise
Throws:
LBException

deactivateScheme

public static boolean deactivateScheme(java.lang.String urn,
                                       java.lang.String version)
                                throws LBException
Deactivate a coding scheme.

Parameters:
urn -
version -
Returns:
true if successful; false otherwise
Throws:
LBException

removeScheme

public static boolean removeScheme(java.lang.String urn,
                                   java.lang.String version)
                            throws LBException
Remove a coding scheme.

Parameters:
urn -
version -
Returns:
true if successful; false otherwise
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.