public class MappingExtensionImpl extends AbstractExtendable implements MappingExtension
MappingExtension.Direction, MappingExtension.Mapping, MappingExtension.MappingSortOption, MappingExtension.MappingSortOptionName, MappingExtension.QualifierSortOption
Modifier and Type | Field and Description |
---|---|
protected static int |
PAGE_SIZE
The PAG e_ size.
|
Constructor and Description |
---|
MappingExtensionImpl()
Instantiates a new mapping extension impl.
|
Modifier and Type | Method and Description |
---|---|
protected ExtensionDescription |
buildExtensionDescription()
Builds the extension description.
|
protected boolean |
doesCodeParticipateInMapping(java.lang.String uri,
java.lang.String version,
java.lang.String code,
java.lang.String namespace)
Does code participate in mapping.
|
protected void |
doRegister(ExtensionRegistry registry,
ExtensionDescription description) |
MappingExtension.Mapping |
getMapping(java.lang.String codingScheme,
CodingSchemeVersionOrTag codingSchemeVersionOrTag,
java.lang.String relationsContainerName)
Gets the a mapping, which may be restricted and resolved.
|
AbsoluteCodingSchemeVersionReferenceList |
getMappingCodingSchemesEntityParticipatesIn(java.lang.String entityCode,
java.lang.String entityCodeNamespace)
Resolve a list of Mapping Coding Scheme References that the given
Entity participates in as either a Source or Target.
|
boolean |
isMappingCodingScheme(java.lang.String codingScheme,
CodingSchemeVersionOrTag codingSchemeVersionOrTag)
Checks if is mapping coding scheme.
|
ResolvedConceptReferencesIterator |
resolveMapping(java.lang.String codingScheme,
CodingSchemeVersionOrTag codingSchemeVersionOrTag,
java.lang.String relationsContainerName,
java.util.List<MappingExtension.MappingSortOption> sortOptionList)
Resolve the mapping coding scheme.
|
getDescription, getExtensionDescription, getName, getProvider, getVersion, register
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName, getProvider, getVersion
public MappingExtensionImpl()
protected ExtensionDescription buildExtensionDescription()
AbstractExtendable
buildExtensionDescription
in class AbstractExtendable
protected void doRegister(ExtensionRegistry registry, ExtensionDescription description) throws LBParameterException
doRegister
in class AbstractExtendable
LBParameterException
public ResolvedConceptReferencesIterator resolveMapping(java.lang.String codingScheme, CodingSchemeVersionOrTag codingSchemeVersionOrTag, java.lang.String relationsContainerName, java.util.List<MappingExtension.MappingSortOption> sortOptionList) throws LBParameterException
MappingExtension
resolveMapping
in interface MappingExtension
codingScheme
- the coding schemecodingSchemeVersionOrTag
- the coding scheme version or tagrelationsContainerName
- the relations container namesortOptionList
- the sort option listLBParameterException
- the LB parameter exceptionpublic MappingExtension.Mapping getMapping(java.lang.String codingScheme, CodingSchemeVersionOrTag codingSchemeVersionOrTag, java.lang.String relationsContainerName) throws LBException
MappingExtension
getMapping
in interface MappingExtension
codingScheme
- the mapping coding schemecodingSchemeVersionOrTag
- the mapping coding scheme version or tagrelationsContainerName
- the relations container nameLBException
- the LB exceptionpublic boolean isMappingCodingScheme(java.lang.String codingScheme, CodingSchemeVersionOrTag codingSchemeVersionOrTag) throws LBParameterException
MappingExtension
isMappingCodingScheme
in interface MappingExtension
codingScheme
- the coding schemecodingSchemeVersionOrTag
- the coding scheme version or tagLBParameterException
- the LB parameter exceptionpublic AbsoluteCodingSchemeVersionReferenceList getMappingCodingSchemesEntityParticipatesIn(java.lang.String entityCode, java.lang.String entityCodeNamespace) throws LBParameterException
MappingExtension
getMappingCodingSchemesEntityParticipatesIn
in interface MappingExtension
entityCode
- the entity codeentityCodeNamespace
- the entity code namespace (Optional)LBParameterException
- the LB parameter exceptionprotected boolean doesCodeParticipateInMapping(java.lang.String uri, java.lang.String version, java.lang.String code, java.lang.String namespace) throws LBParameterException
uri
- the uriversion
- the versioncode
- the codenamespace
- the namespaceLBParameterException
- the LB parameter exception