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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchInputFieldbuild()SearchInputField.BuilderclearDateTimeFormat()Clears the value of the 'dateTimeFormat' field.SearchInputField.BuilderclearFilterCriteria()Clears the value of the 'filterCriteria' field.SearchInputField.BuilderclearName()Clears the value of the 'name' field.SearchInputField.BuilderclearOperator()Clears the value of the 'operator' field.SearchInputField.BuilderclearSortIndex()Clears the value of the 'sortIndex' field.SearchInputField.BuilderclearSortOrder()Clears the value of the 'sortOrder' field.booleangetDateTimeFormat()Gets the value of the 'dateTimeFormat' field.StringgetFilterCriteria()Gets the value of the 'filterCriteria' field.StringgetName()Gets the value of the 'name' field.FilterOperatorEnumgetOperator()Gets the value of the 'operator' field.intgetSortIndex()Gets the value of the 'sortIndex' field.SortDirectionEnumgetSortOrder()Gets the value of the 'sortOrder' field.booleanhasDateTimeFormat()Checks whether the 'dateTimeFormat' field has been set.booleanhasFilterCriteria()Checks whether the 'filterCriteria' field has been set.booleanhasName()Checks whether the 'name' field has been set.booleanhasOperator()Checks whether the 'operator' field has been set.booleanhasSortIndex()Checks whether the 'sortIndex' field has been set.booleanhasSortOrder()Checks whether the 'sortOrder' field has been set.SearchInputField.BuildersetDateTimeFormat(boolean value)Sets the value of the 'dateTimeFormat' field.SearchInputField.BuildersetFilterCriteria(String value)Sets the value of the 'filterCriteria' field.SearchInputField.BuildersetName(String value)Sets the value of the 'name' field.SearchInputField.BuildersetOperator(FilterOperatorEnum value)Sets the value of the 'operator' field.SearchInputField.BuildersetSortIndex(int value)Sets the value of the 'sortIndex' field.SearchInputField.BuildersetSortOrder(SortDirectionEnum value)Sets the value of the 'sortOrder' field.
-
-
-
Method Detail
-
getFilterCriteria
public String getFilterCriteria()
Gets the value of the 'filterCriteria' field.- Returns:
- The value.
-
setFilterCriteria
public SearchInputField.Builder setFilterCriteria(String value)
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
public SearchInputField.Builder clearFilterCriteria()
Clears the value of the 'filterCriteria' field.- Returns:
- This builder.
-
getName
public String getName()
Gets the value of the 'name' field.- Returns:
- The value.
-
setName
public SearchInputField.Builder setName(String value)
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
public SearchInputField.Builder clearName()
Clears the value of the 'name' field.- Returns:
- This builder.
-
getSortOrder
public SortDirectionEnum getSortOrder()
Gets the value of the 'sortOrder' field.- Returns:
- The value.
-
setSortOrder
public SearchInputField.Builder setSortOrder(SortDirectionEnum value)
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
public SearchInputField.Builder 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
public SearchInputField.Builder setSortIndex(int value)
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
public SearchInputField.Builder 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
public SearchInputField.Builder setDateTimeFormat(boolean value)
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
public SearchInputField.Builder clearDateTimeFormat()
Clears the value of the 'dateTimeFormat' field.- Returns:
- This builder.
-
getOperator
public FilterOperatorEnum getOperator()
Gets the value of the 'operator' field.- Returns:
- The value.
-
setOperator
public SearchInputField.Builder setOperator(FilterOperatorEnum value)
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
public SearchInputField.Builder clearOperator()
Clears the value of the 'operator' field.- Returns:
- This builder.
-
build
public SearchInputField build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SearchInputField>
-
-