org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.supplement
Class SupplementExtensionImpl

java.lang.Object
  extended by org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
      extended by org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.supplement.SupplementExtensionImpl
All Implemented Interfaces:
java.io.Serializable, Extendable, GenericExtension, SupplementExtension

public class SupplementExtensionImpl
extends AbstractExtendable
implements SupplementExtension

The Class SupplementExtensionImpl.

Author:
Kevin Peterson
See Also:
Serialized Form

Constructor Summary
SupplementExtensionImpl()
           
 
Method Summary
protected  ExtensionDescription buildExtensionDescription()
          Builds the extension description.
 AbsoluteCodingSchemeVersionReference getParentOfSupplement(java.lang.String codingScheme, CodingSchemeVersionOrTag tagOrVersion)
          Gets the parent of a supplement.
 boolean isSupplement(java.lang.String codingScheme, CodingSchemeVersionOrTag tagOrVersion)
          Checks if a given coding scheme is a supplement.
 void register()
           
 
Methods inherited from class org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
getDescription, getExtensionDescription, getName, getProvider, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.LexGrid.LexBIG.Extensions.Extendable
getDescription, getName, getProvider, getVersion
 

Constructor Detail

SupplementExtensionImpl

public SupplementExtensionImpl()
Method Detail

isSupplement

public boolean isSupplement(java.lang.String codingScheme,
                            CodingSchemeVersionOrTag tagOrVersion)
                     throws LBParameterException
Description copied from interface: SupplementExtension
Checks if a given coding scheme is a supplement.

Specified by:
isSupplement in interface SupplementExtension
Parameters:
codingScheme - the coding scheme
tagOrVersion - the tag or version
Returns:
true, if is supplement
Throws:
LBParameterException - the LB parameter exception

getParentOfSupplement

public AbsoluteCodingSchemeVersionReference getParentOfSupplement(java.lang.String codingScheme,
                                                                  CodingSchemeVersionOrTag tagOrVersion)
                                                           throws LBParameterException
Description copied from interface: SupplementExtension
Gets the parent of a supplement.

Specified by:
getParentOfSupplement in interface SupplementExtension
Parameters:
codingScheme - the coding scheme
tagOrVersion - the tag or version
Returns:
the parent of supplement
Throws:
LBParameterException - the LB parameter exception

register

public void register()
              throws LBParameterException,
                     LBException
Throws:
LBParameterException
LBException

buildExtensionDescription

protected ExtensionDescription buildExtensionDescription()
Description copied from class: AbstractExtendable
Builds the extension description.

Specified by:
buildExtensionDescription in class AbstractExtendable
Returns:
the extension description

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.