P - The type of NestingBuilder that was used to create this
builder. This is the type that will be returned by calling
NestedBuilder.finish() on this builder.public interface FieldSpecBuilder<P extends NestingBuilder> extends NestedBuilder<P>
ComplexTypeBuilder implementations. SimpleTypeBuilder
implementations should use the simple field spec format available for all
types.ComplexTypeBuilder,
CommonBuilder| Modifier and Type | Method and Description |
|---|---|
FieldSpecBuilder<P> |
withFilterable(boolean value)
This method includes the "filterable" attribute in the field spec
definition
|
FieldSpecBuilder<P> |
withSelectable(boolean value)
This method includes the "selectable" attribute in the field spec
definition
|
FieldSpecBuilder<P> |
withSelected(boolean value)
This method includes the "selected" attribute in the field spec
definition
|
FieldSpecBuilder<P> |
withSortable(boolean value)
This method includes the "sortable" attribute in the field spec
definition
|
FieldSpecBuilder<P> |
withType(DataType value)
This method includes the "type" attribute in the field spec definition
|
finishFieldSpecBuilder<P> withFilterable(boolean value)
value - the value of the attributeFieldSpecBuilder instanceFieldSpecBuilder<P> withSelectable(boolean value)
value - the value of the attributeFieldSpecBuilder instanceFieldSpecBuilder<P> withSelected(boolean value)
value - the value of the attributeFieldSpecBuilder instanceFieldSpecBuilder<P> withSortable(boolean value)
value - the value of the attributeFieldSpecBuilder instanceFieldSpecBuilder<P> withType(DataType value)
value - the value of the attributeFieldSpecBuilder instance