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