public class ConverterKey<I,O> extends Object
ConverterKey
is used to look up a registered converterConstructor and Description |
---|
ConverterKey(Class<I> input,
Class<O> output,
Class<? extends Annotation> qualifier)
Creates a new ConverterKey instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<I> |
getInputClass()
Gets the configured input class
|
Class<O> |
getOutputClass()
Gets the configured output class
|
Class<? extends Annotation> |
getQualifierAnnotation()
Gets the configured qualifier
|
int |
hashCode() |
ConverterKey<O,I> |
invert() |
String |
toString() |
public ConverterKey(Class<I> input, Class<O> output, Class<? extends Annotation> qualifier)
input
- The Input classoutput
- The output classqualifier
- The qualifier for the annotationpublic Class<I> getInputClass()
public Class<O> getOutputClass()
public Class<? extends Annotation> getQualifierAnnotation()
public ConverterKey<O,I> invert()
Copyright © 2010–2018 Jadira Systems. All rights reserved.