Class SearchInputField.Builder
java.lang.Object
org.apache.avro.data.RecordBuilderBase<T>
org.apache.avro.specific.SpecificRecordBuilderBase<SearchInputField>
net.sourceforge.jbizmo.commons.avro.search.SearchInputField.Builder
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SearchInputField>
- Enclosing class:
- SearchInputField
public static class SearchInputField.Builder
extends org.apache.avro.specific.SpecificRecordBuilderBase<SearchInputField>
implements org.apache.avro.data.RecordBuilder<SearchInputField>
RecordBuilder for SearchInputField instances.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Clears the value of the 'dateTimeFormat' field.Clears the value of the 'filterCriteria' field.Clears the value of the 'name' field.Clears the value of the 'operator' field.Clears the value of the 'sortIndex' field.Clears the value of the 'sortOrder' field.booleanGets the value of the 'dateTimeFormat' field.Gets the value of the 'filterCriteria' field.getName()Gets the value of the 'name' field.Gets the value of the 'operator' field.intGets the value of the 'sortIndex' field.Gets the value of the 'sortOrder' field.booleanChecks whether the 'dateTimeFormat' field has been set.booleanChecks whether the 'filterCriteria' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanChecks whether the 'operator' field has been set.booleanChecks whether the 'sortIndex' field has been set.booleanChecks whether the 'sortOrder' field has been set.setDateTimeFormat(boolean value) Sets the value of the 'dateTimeFormat' field.setFilterCriteria(String value) Sets the value of the 'filterCriteria' field.Sets the value of the 'name' field.setOperator(FilterOperatorEnum value) Sets the value of the 'operator' field.setSortIndex(int value) Sets the value of the 'sortIndex' field.setSortOrder(SortDirectionEnum value) Sets the value of the 'sortOrder' field.Methods inherited from class org.apache.avro.data.RecordBuilderBase
data, defaultValue, equals, fields, fieldSetFlags, hashCode, isValidValue, schema, validate
-
Method Details
-
getFilterCriteria
Gets the value of the 'filterCriteria' field.- Returns:
- The value.
-
setFilterCriteria
Sets the value of the 'filterCriteria' field.- Parameters:
value- The value of 'filterCriteria'.- Returns:
- This builder.
-
hasFilterCriteria
public boolean hasFilterCriteria()Checks whether the 'filterCriteria' field has been set.- Returns:
- True if the 'filterCriteria' field has been set, false otherwise.
-
clearFilterCriteria
Clears the value of the 'filterCriteria' field.- Returns:
- This builder.
-
getName
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
Sets the value of the 'name' field.- Parameters:
value- The value of 'name'.- Returns:
- This builder.
-
hasName
public boolean hasName()Checks whether the 'name' field has been set.- Returns:
- True if the 'name' field has been set, false otherwise.
-
clearName
Clears the value of the 'name' field.- Returns:
- This builder.
-
getSortOrder
Gets the value of the 'sortOrder' field.- Returns:
- The value.
-
setSortOrder
Sets the value of the 'sortOrder' field.- Parameters:
value- The value of 'sortOrder'.- Returns:
- This builder.
-
hasSortOrder
public boolean hasSortOrder()Checks whether the 'sortOrder' field has been set.- Returns:
- True if the 'sortOrder' field has been set, false otherwise.
-
clearSortOrder
Clears the value of the 'sortOrder' field.- Returns:
- This builder.
-
getSortIndex
public int getSortIndex()Gets the value of the 'sortIndex' field.- Returns:
- The value.
-
setSortIndex
Sets the value of the 'sortIndex' field.- Parameters:
value- The value of 'sortIndex'.- Returns:
- This builder.
-
hasSortIndex
public boolean hasSortIndex()Checks whether the 'sortIndex' field has been set.- Returns:
- True if the 'sortIndex' field has been set, false otherwise.
-
clearSortIndex
Clears the value of the 'sortIndex' field.- Returns:
- This builder.
-
getDateTimeFormat
public boolean getDateTimeFormat()Gets the value of the 'dateTimeFormat' field.- Returns:
- The value.
-
setDateTimeFormat
Sets the value of the 'dateTimeFormat' field.- Parameters:
value- The value of 'dateTimeFormat'.- Returns:
- This builder.
-
hasDateTimeFormat
public boolean hasDateTimeFormat()Checks whether the 'dateTimeFormat' field has been set.- Returns:
- True if the 'dateTimeFormat' field has been set, false otherwise.
-
clearDateTimeFormat
Clears the value of the 'dateTimeFormat' field.- Returns:
- This builder.
-
getOperator
Gets the value of the 'operator' field.- Returns:
- The value.
-
setOperator
Sets the value of the 'operator' field.- Parameters:
value- The value of 'operator'.- Returns:
- This builder.
-
hasOperator
public boolean hasOperator()Checks whether the 'operator' field has been set.- Returns:
- True if the 'operator' field has been set, false otherwise.
-
clearOperator
Clears the value of the 'operator' field.- Returns:
- This builder.
-
build
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SearchInputField>
-