Annotation Interface DefaultSchema
The
DefaultSchema annotation specifies a SchemaProvider class to handle obtaining
a schema and row for the specified class.
For example, if your class is JavaBean, the JavaBeanSchema provider class knows how to vend schemas for this class. You can annotate it as follows:
@DefaultSchema(JavaBeanSchema.class)
class MyClass {
public String getFoo();
void setFoo(String foo);
....
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSchemaProviderfor default schemas.static classRegistrar for default schemas. -
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends SchemaProvider> The schema provider implementation that knows how to vend schemas for the annotated class.
-
Element Details
-
value
The schema provider implementation that knows how to vend schemas for the annotated class.
-