ca.infoway.messagebuilder.resolver
Class CodeResolverImpl

Package class diagram package CodeResolverImpl
java.lang.Object
  extended by ca.infoway.messagebuilder.resolver.CodeResolverImpl
All Implemented Interfaces:
CodeResolver
Direct Known Subclasses:
CompositeCodeResolver, EnumBasedCodeResolver, TrivialCodeResolver

public abstract class CodeResolverImpl
extends Object
implements CodeResolver

The Class CodeResolverImpl. A trivial (and abstract) implementation of CodeResolver.

Author:
Intelliware Development

Constructor Summary
CodeResolverImpl()
           
 
Method Summary
abstract
<T extends Code>
T
lookup(Class<? extends T> type, String code, String codeSystemOid)
          Lookup.
<T extends Code>
Collection<T>
lookup(Class<T> type)
          Lookup.
abstract
<T extends Code>
T
lookup(Class<T> type, String code)
          Lookup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodeResolverImpl

public CodeResolverImpl()
Method Detail

lookup

public <T extends Code> Collection<T> lookup(Class<T> type)

Lookup.

Specified by:
lookup in interface CodeResolver
Type Parameters:
T - the generic type
Parameters:
type - the type
Returns:
the collection

lookup

public abstract <T extends Code> T lookup(Class<T> type,
                                          String code)
Description copied from interface: CodeResolver

Lookup.

Specified by:
lookup in interface CodeResolver
Type Parameters:
T - the generic type
Parameters:
type - the type
code - the code
Returns:
the t

lookup

public abstract <T extends Code> T lookup(Class<? extends T> type,
                                          String code,
                                          String codeSystemOid)

Lookup.

Specified by:
lookup in interface CodeResolver
Type Parameters:
T - the generic type
Parameters:
type - the type
code - the code
codeSystemOid - the code system oid
Returns:
the t


Copyright © 2013. All Rights Reserved.