public class SchemaDefinitionImpl<T> extends Object implements SchemaDefinition<T>
SchemaDefinition for the json schema definition.| Constructor and Description |
|---|
SchemaDefinitionImpl(Class<T> pojo,
String jsonDef,
boolean alwaysAllowNull,
Map<String,String> properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAlwaysAllowNull()
get schema whether always allow null or not
|
String |
getJsonDef()
Get json schema definition
|
Class<T> |
getPojo()
Get pojo schema definition
|
Map<String,String> |
getProperties()
Get schema class
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuilderpublic boolean getAlwaysAllowNull()
getAlwaysAllowNull in interface SchemaDefinition<T>public String getJsonDef()
getJsonDef in interface SchemaDefinition<T>public Class<T> getPojo()
getPojo in interface SchemaDefinition<T>public Map<String,String> getProperties()
getProperties in interface SchemaDefinition<T>Copyright © 2017–2019 Apache Software Foundation. All rights reserved.