org.lexgrid.loader.processor.support
Class AbstractBasicEntityResolver<T>

java.lang.Object
  extended by org.lexgrid.loader.processor.support.AbstractBasicEntityResolver<T>
All Implemented Interfaces:
EntityResolver<T>
Direct Known Subclasses:
MetaEntityResolver, UmlsMrconsoEntityResolver

public abstract class AbstractBasicEntityResolver<T>
extends java.lang.Object
implements EntityResolver<T>

The Class AbstractBasicEntityResolver.

Author:
Kevin Peterson

Constructor Summary
AbstractBasicEntityResolver()
           
 
Method Summary
 java.lang.String getEntityCode(T item)
          Gets the entity code.
 java.lang.String getEntityCodeNamespace(T item)
          Gets the entity code namespace.
 EntityCodeResolver<T> getEntityCodeResolver()
          Gets the entity code resolver.
 java.lang.String getEntityDescription(T item)
          Gets the entity description.
 EntityDescriptionResolver<T> getEntityDescriptionResolver()
          Gets the entity description resolver.
 EntityNamespaceResolver<T> getEntityNamespaceResolver()
          Gets the entity namespace resolver.
 void setEntityCodeResolver(EntityCodeResolver<T> entityCodeResolver)
          Sets the entity code resolver.
 void setEntityDescriptionResolver(EntityDescriptionResolver<T> entityDescriptionResolver)
          Sets the entity description resolver.
 void setEntityNamespaceResolver(EntityNamespaceResolver<T> entityNamespaceResolver)
          Sets the entity namespace resolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.lexgrid.loader.processor.support.EntityResolver
getEntityTypes, getIsActive, getIsAnonymous, getIsDefined
 

Constructor Detail

AbstractBasicEntityResolver

public AbstractBasicEntityResolver()
Method Detail

getEntityCode

public java.lang.String getEntityCode(T item)
Description copied from interface: EntityResolver
Gets the entity code.

Specified by:
getEntityCode in interface EntityResolver<T>
Parameters:
item - the item
Returns:
the entity code

getEntityCodeNamespace

public java.lang.String getEntityCodeNamespace(T item)
Description copied from interface: EntityResolver
Gets the entity code namespace.

Specified by:
getEntityCodeNamespace in interface EntityResolver<T>
Parameters:
item - the item
Returns:
the entity code namespace

getEntityDescription

public java.lang.String getEntityDescription(T item)
Description copied from interface: EntityResolver
Gets the entity description.

Specified by:
getEntityDescription in interface EntityResolver<T>
Parameters:
item - the item
Returns:
the entity description

getEntityCodeResolver

public EntityCodeResolver<T> getEntityCodeResolver()
Gets the entity code resolver.

Returns:
the entity code resolver

setEntityCodeResolver

public void setEntityCodeResolver(EntityCodeResolver<T> entityCodeResolver)
Sets the entity code resolver.

Parameters:
entityCodeResolver - the new entity code resolver

getEntityDescriptionResolver

public EntityDescriptionResolver<T> getEntityDescriptionResolver()
Gets the entity description resolver.

Returns:
the entity description resolver

setEntityDescriptionResolver

public void setEntityDescriptionResolver(EntityDescriptionResolver<T> entityDescriptionResolver)
Sets the entity description resolver.

Parameters:
entityDescriptionResolver - the new entity description resolver

getEntityNamespaceResolver

public EntityNamespaceResolver<T> getEntityNamespaceResolver()
Gets the entity namespace resolver.

Returns:
the entity namespace resolver

setEntityNamespaceResolver

public void setEntityNamespaceResolver(EntityNamespaceResolver<T> entityNamespaceResolver)
Sets the entity namespace resolver.

Parameters:
entityNamespaceResolver - the new entity namespace resolver

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.