abstract static class Builders.AbstractSchemaBuilder<T> extends java.lang.Object implements SchemaBuilder
Modifier and Type | Field and Description |
---|---|
(package private) T |
defaultValue |
(package private) java.lang.String |
fieldName |
(package private) boolean |
required |
Constructor and Description |
---|
AbstractSchemaBuilder(java.lang.Class<T> valueClass) |
Modifier and Type | Method and Description |
---|---|
SchemaBuilder |
setDefaultValue(java.lang.Object defaultValue) |
SchemaBuilder |
setFieldName(java.lang.String fieldName) |
SchemaBuilder |
setRequired(boolean required) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
build
boolean required
java.lang.String fieldName
T defaultValue
AbstractSchemaBuilder(java.lang.Class<T> valueClass)
public SchemaBuilder setDefaultValue(java.lang.Object defaultValue)
setDefaultValue
in interface SchemaBuilder
public SchemaBuilder setFieldName(java.lang.String fieldName)
setFieldName
in interface SchemaBuilder
public SchemaBuilder setRequired(boolean required)
setRequired
in interface SchemaBuilder