public interface ModelConverterContext
Modifier and Type | Method and Description |
---|---|
void |
defineModel(java.lang.String name,
Model model)
needs to be called whenever a Model is defined which can be referenced from another
Model or Property
|
void |
defineModel(java.lang.String name,
Model model,
java.lang.reflect.Type type,
java.lang.String prevName)
needs to be called whenever a Model is defined which can be referenced from another
Model or Property
|
java.util.Iterator<ModelConverter> |
getConverters() |
Model |
resolve(java.lang.reflect.Type type) |
Property |
resolveProperty(java.lang.reflect.Type type,
java.lang.annotation.Annotation[] annotations) |
void defineModel(java.lang.String name, Model model)
name
- the name of the modelmodel
- the Modelvoid defineModel(java.lang.String name, Model model, java.lang.reflect.Type type, java.lang.String prevName)
name
- the name of the modelmodel
- the Modeltype
- the TypeprevName
- the (optional) previous nameProperty resolveProperty(java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations)
type
- the property ClassModel resolve(java.lang.reflect.Type type)
type
- The Model Classjava.util.Iterator<ModelConverter> getConverters()
Copyright © 2018. All Rights Reserved.