org.lexgrid.loader.rrf.processor.support
Class AbstractRrfRelationResolver

java.lang.Object
  extended by org.lexgrid.loader.rrf.processor.support.AbstractRrfRelationResolver
All Implemented Interfaces:
RelationResolver<Mrrel>
Direct Known Subclasses:
AuiBasedRelationResolver, MetaRelationResolver, MinimalRrfRelationResolver, UmlsRelationResolver

public abstract class AbstractRrfRelationResolver
extends java.lang.Object
implements RelationResolver<Mrrel>

The Class AbstractRrfRelationResolver.

Author:
Kevin Peterson

Constructor Summary
AbstractRrfRelationResolver()
           
 
Method Summary
 CodingSchemeIdSetter getCodingSchemeIdSetter()
          Gets the coding scheme name setter.
abstract  java.lang.String getContainerName()
          Gets the container name.
 java.lang.String getRelation(Mrrel item)
          Gets the relation.
 java.lang.String getRelationNamespace(Mrrel item)
          Gets the relation namespace.
abstract  java.lang.String getSource(Mrrel item)
          Gets the source.
 java.lang.String getSourceNamespace(Mrrel item)
          Gets the source namespace.
 java.lang.String getSourceScheme(Mrrel item)
          Gets the source scheme.
abstract  java.lang.String getTarget(Mrrel item)
          Gets the target.
 java.lang.String getTargetNamespace(Mrrel item)
          Gets the target namespace.
 void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)
          Sets the coding scheme name setter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRrfRelationResolver

public AbstractRrfRelationResolver()
Method Detail

getContainerName

public abstract java.lang.String getContainerName()
Description copied from interface: RelationResolver
Gets the container name.

Specified by:
getContainerName in interface RelationResolver<Mrrel>
Returns:
the container name

getRelation

public java.lang.String getRelation(Mrrel item)
Description copied from interface: RelationResolver
Gets the relation.

Specified by:
getRelation in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the relation

getSource

public abstract java.lang.String getSource(Mrrel item)
Description copied from interface: RelationResolver
Gets the source.

Specified by:
getSource in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the source

getTarget

public abstract java.lang.String getTarget(Mrrel item)
Description copied from interface: RelationResolver
Gets the target.

Specified by:
getTarget in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the target

getSourceScheme

public java.lang.String getSourceScheme(Mrrel item)
Description copied from interface: RelationResolver
Gets the source scheme.

Specified by:
getSourceScheme in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the source scheme

getRelationNamespace

public java.lang.String getRelationNamespace(Mrrel item)
Description copied from interface: RelationResolver
Gets the relation namespace.

Specified by:
getRelationNamespace in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the relation namespace

getSourceNamespace

public java.lang.String getSourceNamespace(Mrrel item)
Description copied from interface: RelationResolver
Gets the source namespace.

Specified by:
getSourceNamespace in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the source namespace

getTargetNamespace

public java.lang.String getTargetNamespace(Mrrel item)
Description copied from interface: RelationResolver
Gets the target namespace.

Specified by:
getTargetNamespace in interface RelationResolver<Mrrel>
Parameters:
item - the item
Returns:
the target namespace

getCodingSchemeIdSetter

public CodingSchemeIdSetter getCodingSchemeIdSetter()
Gets the coding scheme name setter.

Returns:
the coding scheme name setter

setCodingSchemeIdSetter

public void setCodingSchemeIdSetter(CodingSchemeIdSetter codingSchemeIdSetter)
Sets the coding scheme name setter.

Parameters:
codingSchemeIdSetter - the new coding scheme name setter

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.