|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.infoway.messagebuilder.resolver.CodeResolverImpl
ca.infoway.messagebuilder.resolver.EnumBasedCodeResolver
public class EnumBasedCodeResolver
The Class EnumBasedCodeResolver.
Constructor Summary | |
---|---|
EnumBasedCodeResolver(Class<?> e)
Instantiates a new enum based code resolver. |
Method Summary | ||
---|---|---|
|
lookup(Class<? extends T> type,
String code,
String codeSystemOid)
Lookup. |
|
|
lookup(Class<T> type)
Lookup. |
|
|
lookup(Class<T> interfaceType,
NullFlavor nullFlavor)
Lookup. |
|
|
lookup(Class<T> interfaceType,
String code)
Lookup. |
|
|
lookup(Class<T> type,
String code,
String codeSystemOid,
NullFlavor nullFlavor)
Lookup. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EnumBasedCodeResolver(Class<?> e)
Instantiates a new enum based code resolver.
e
- the eMethod Detail |
---|
public <T extends Code> Collection<T> lookup(Class<T> type)
Lookup.
lookup
in interface CodeResolver
lookup
in class CodeResolverImpl
T
- the generic typetype
- the type
public <T extends Code> T lookup(Class<T> interfaceType, String code)
Lookup.
lookup
in interface CodeResolver
lookup
in class CodeResolverImpl
T
- the generic typeinterfaceType
- the typecode
- the code
public <T extends Code> T lookup(Class<T> interfaceType, NullFlavor nullFlavor)
Lookup.
T
- the generic typeinterfaceType
- the interface typenullFlavor
- the null flavor
public <T extends Code> T lookup(Class<? extends T> type, String code, String codeSystemOid)
Lookup.
lookup
in interface CodeResolver
lookup
in class CodeResolverImpl
T
- the generic typetype
- the typecode
- the codecodeSystemOid
- the code system oid
public <T extends Code> T lookup(Class<T> type, String code, String codeSystemOid, NullFlavor nullFlavor)
Lookup.
T
- the generic typetype
- the typecode
- the codecodeSystemOid
- the code system oidnullFlavor
- the null flavor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |