public abstract class MapperGenBase
extends io.vertx.codegen.Generator<io.vertx.codegen.DataObjectModel>
Constructor and Description |
---|
MapperGenBase() |
Modifier and Type | Method and Description |
---|---|
Collection<Class<? extends Annotation>> |
annotations() |
String |
filename(io.vertx.codegen.DataObjectModel model) |
protected abstract String |
genSimpleName(io.vertx.codegen.DataObjectModel model) |
protected abstract Optional<io.vertx.codegen.type.AnnotationValueInfo> |
getAnnotation(io.vertx.codegen.DataObjectModel model) |
protected String |
getMappingName(io.vertx.codegen.PropertyInfo prop,
String annotationName) |
String |
render(io.vertx.codegen.DataObjectModel model,
int index,
int size,
Map<String,Object> session) |
protected abstract void |
renderDeclaration(io.vertx.codegen.DataObjectModel model,
PrintWriter writer) |
protected abstract void |
renderMembers(String visibility,
io.vertx.codegen.DataObjectModel model,
PrintWriter writer) |
public Collection<Class<? extends Annotation>> annotations()
annotations
in class io.vertx.codegen.Generator<io.vertx.codegen.DataObjectModel>
public String filename(io.vertx.codegen.DataObjectModel model)
filename
in class io.vertx.codegen.Generator<io.vertx.codegen.DataObjectModel>
protected abstract Optional<io.vertx.codegen.type.AnnotationValueInfo> getAnnotation(io.vertx.codegen.DataObjectModel model)
protected abstract String genSimpleName(io.vertx.codegen.DataObjectModel model)
public String render(io.vertx.codegen.DataObjectModel model, int index, int size, Map<String,Object> session)
render
in class io.vertx.codegen.Generator<io.vertx.codegen.DataObjectModel>
protected abstract void renderDeclaration(io.vertx.codegen.DataObjectModel model, PrintWriter writer)
protected abstract void renderMembers(String visibility, io.vertx.codegen.DataObjectModel model, PrintWriter writer)
Copyright © 2021 Eclipse. All rights reserved.