org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.mapping
Class MappingExtensionImpl
java.lang.Object
org.LexGrid.LexBIG.Impl.Extensions.AbstractExtendable
org.LexGrid.LexBIG.Impl.Extensions.GenericExtensions.mapping.MappingExtensionImpl
- All Implemented Interfaces:
- java.io.Serializable, Extendable, GenericExtension, MappingExtension
public class MappingExtensionImpl
- extends AbstractExtendable
- implements MappingExtension
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PAGE_SIZE
protected static int PAGE_SIZE
MappingExtensionImpl
public MappingExtensionImpl()
buildExtensionDescription
protected ExtensionDescription buildExtensionDescription()
- Description copied from class:
AbstractExtendable
- Builds the extension description.
- Specified by:
buildExtensionDescription
in class AbstractExtendable
- Returns:
- the extension description
register
public void register()
throws LBParameterException,
LBException
- Throws:
LBParameterException
LBException
resolveMapping
public ResolvedConceptReferencesIterator resolveMapping(java.lang.String codingScheme,
CodingSchemeVersionOrTag codingSchemeVersionOrTag,
java.lang.String relationsContainerName,
java.util.List<MappingExtension.MappingSortOption> sortOptionList)
throws LBParameterException
- Description copied from interface:
MappingExtension
- Resolve the mapping coding scheme. The resulting Iterator will produce
one (1) ResolvedConceptReference per 'next' call. Each ResolvedConceptReference
will contain exactly one (1) AssociatedConcept as its 'sourceOf'.
- Specified by:
resolveMapping
in interface MappingExtension
- Parameters:
codingScheme
- the coding schemecodingSchemeVersionOrTag
- the coding scheme version or tagrelationsContainerName
- the relations container namesortOptionList
- the sort option list
- Returns:
- the resolved concept references iterator
- Throws:
LBParameterException
- the LB parameter exception
isMappingCodingScheme
public boolean isMappingCodingScheme(java.lang.String codingScheme,
CodingSchemeVersionOrTag codingSchemeVersionOrTag)
throws LBParameterException
- Description copied from interface:
MappingExtension
- Checks if is mapping coding scheme.
- Specified by:
isMappingCodingScheme
in interface MappingExtension
- Parameters:
codingScheme
- the coding schemecodingSchemeVersionOrTag
- the coding scheme version or tag
- Returns:
- true, if is mapping coding scheme
- Throws:
LBParameterException
- the LB parameter exception