K
- the generic type of the objects to be used as MetadataKeyId representing a type structurepublic interface OutputTypeResolver<K> extends NamedTypeResolver
MetadataType
resolving for the output of an associated component.Modifier and Type | Method and Description |
---|---|
MetadataType |
getOutputType(MetadataContext context,
K key)
Given an instance of type
K , resolves their MetadataType , which represents the type structure. |
default String |
getResolverName()
This is the name of the TypeResolver.
|
getCategoryName
default String getResolverName()
InputTypeResolver
and
OutputTypeResolver
which are used together.getResolverName
in interface NamedTypeResolver
MetadataType getOutputType(MetadataContext context, K key) throws MetadataResolvingException, ConnectionException
K
, resolves their MetadataType
, which represents the type structure. This
MetadataType
will be considered as the output or result of the Componentcontext
- MetadataContext
of the MetaData resolutionkey
- K
representing the type which's structure has to be resolvedMetadataType
from the given MetadataResolvingException
- if an error occurs during the MetadataType
building. See FailureCode
for
possible MetadataResolvingException
reasonsConnectionException
- if an error occurs when using the connection provided by the MetadataContext
Copyright © 2018. All rights reserved.