Class SearchInput.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<SearchInput>
-
- net.sourceforge.jbizmo.commons.avro.search.SearchInput.Builder
-
- All Implemented Interfaces:
org.apache.avro.data.RecordBuilder<SearchInput>
- Enclosing class:
- SearchInput
public static class SearchInput.Builder extends org.apache.avro.specific.SpecificRecordBuilderBase<SearchInput> implements org.apache.avro.data.RecordBuilder<SearchInput>
RecordBuilder for SearchInput instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchInputbuild()SearchInput.BuilderclearCaseSensitive()Clears the value of the 'caseSensitive' field.SearchInput.BuilderclearDateFormat()Clears the value of the 'dateFormat' field.SearchInput.BuilderclearDateTimeFormat()Clears the value of the 'dateTimeFormat' field.SearchInput.BuilderclearDecimalSeparator()Clears the value of the 'decimalSeparator' field.SearchInput.BuilderclearExactFilterMatch()Clears the value of the 'exactFilterMatch' field.SearchInput.BuilderclearGroupingSeparator()Clears the value of the 'groupingSeparator' field.SearchInput.BuilderclearMaxResult()Clears the value of the 'maxResult' field.SearchInput.BuilderclearNumberFormat()Clears the value of the 'numberFormat' field.SearchInput.BuilderclearSearchFields()Clears the value of the 'searchFields' field.SearchInput.BuilderclearStartIndex()Clears the value of the 'startIndex' field.booleangetCaseSensitive()Gets the value of the 'caseSensitive' field.StringgetDateFormat()Gets the value of the 'dateFormat' field.StringgetDateTimeFormat()Gets the value of the 'dateTimeFormat' field.StringgetDecimalSeparator()Gets the value of the 'decimalSeparator' field.booleangetExactFilterMatch()Gets the value of the 'exactFilterMatch' field.StringgetGroupingSeparator()Gets the value of the 'groupingSeparator' field.intgetMaxResult()Gets the value of the 'maxResult' field.StringgetNumberFormat()Gets the value of the 'numberFormat' field.List<SearchInputField>getSearchFields()Gets the value of the 'searchFields' field.intgetStartIndex()Gets the value of the 'startIndex' field.booleanhasCaseSensitive()Checks whether the 'caseSensitive' field has been set.booleanhasDateFormat()Checks whether the 'dateFormat' field has been set.booleanhasDateTimeFormat()Checks whether the 'dateTimeFormat' field has been set.booleanhasDecimalSeparator()Checks whether the 'decimalSeparator' field has been set.booleanhasExactFilterMatch()Checks whether the 'exactFilterMatch' field has been set.booleanhasGroupingSeparator()Checks whether the 'groupingSeparator' field has been set.booleanhasMaxResult()Checks whether the 'maxResult' field has been set.booleanhasNumberFormat()Checks whether the 'numberFormat' field has been set.booleanhasSearchFields()Checks whether the 'searchFields' field has been set.booleanhasStartIndex()Checks whether the 'startIndex' field has been set.SearchInput.BuildersetCaseSensitive(boolean value)Sets the value of the 'caseSensitive' field.SearchInput.BuildersetDateFormat(String value)Sets the value of the 'dateFormat' field.SearchInput.BuildersetDateTimeFormat(String value)Sets the value of the 'dateTimeFormat' field.SearchInput.BuildersetDecimalSeparator(String value)Sets the value of the 'decimalSeparator' field.SearchInput.BuildersetExactFilterMatch(boolean value)Sets the value of the 'exactFilterMatch' field.SearchInput.BuildersetGroupingSeparator(String value)Sets the value of the 'groupingSeparator' field.SearchInput.BuildersetMaxResult(int value)Sets the value of the 'maxResult' field.SearchInput.BuildersetNumberFormat(String value)Sets the value of the 'numberFormat' field.SearchInput.BuildersetSearchFields(List<SearchInputField> value)Sets the value of the 'searchFields' field.SearchInput.BuildersetStartIndex(int value)Sets the value of the 'startIndex' field.
-
-
-
Method Detail
-
getMaxResult
public int getMaxResult()
Gets the value of the 'maxResult' field.- Returns:
- The value.
-
setMaxResult
public SearchInput.Builder setMaxResult(int value)
Sets the value of the 'maxResult' field.- Parameters:
value- The value of 'maxResult'.- Returns:
- This builder.
-
hasMaxResult
public boolean hasMaxResult()
Checks whether the 'maxResult' field has been set.- Returns:
- True if the 'maxResult' field has been set, false otherwise.
-
clearMaxResult
public SearchInput.Builder clearMaxResult()
Clears the value of the 'maxResult' field.- Returns:
- This builder.
-
getCaseSensitive
public boolean getCaseSensitive()
Gets the value of the 'caseSensitive' field.- Returns:
- The value.
-
setCaseSensitive
public SearchInput.Builder setCaseSensitive(boolean value)
Sets the value of the 'caseSensitive' field.- Parameters:
value- The value of 'caseSensitive'.- Returns:
- This builder.
-
hasCaseSensitive
public boolean hasCaseSensitive()
Checks whether the 'caseSensitive' field has been set.- Returns:
- True if the 'caseSensitive' field has been set, false otherwise.
-
clearCaseSensitive
public SearchInput.Builder clearCaseSensitive()
Clears the value of the 'caseSensitive' field.- Returns:
- This builder.
-
getNumberFormat
public String getNumberFormat()
Gets the value of the 'numberFormat' field.- Returns:
- The value.
-
setNumberFormat
public SearchInput.Builder setNumberFormat(String value)
Sets the value of the 'numberFormat' field.- Parameters:
value- The value of 'numberFormat'.- Returns:
- This builder.
-
hasNumberFormat
public boolean hasNumberFormat()
Checks whether the 'numberFormat' field has been set.- Returns:
- True if the 'numberFormat' field has been set, false otherwise.
-
clearNumberFormat
public SearchInput.Builder clearNumberFormat()
Clears the value of the 'numberFormat' field.- Returns:
- This builder.
-
getDateFormat
public String getDateFormat()
Gets the value of the 'dateFormat' field.- Returns:
- The value.
-
setDateFormat
public SearchInput.Builder setDateFormat(String value)
Sets the value of the 'dateFormat' field.- Parameters:
value- The value of 'dateFormat'.- Returns:
- This builder.
-
hasDateFormat
public boolean hasDateFormat()
Checks whether the 'dateFormat' field has been set.- Returns:
- True if the 'dateFormat' field has been set, false otherwise.
-
clearDateFormat
public SearchInput.Builder clearDateFormat()
Clears the value of the 'dateFormat' field.- Returns:
- This builder.
-
getDateTimeFormat
public String getDateTimeFormat()
Gets the value of the 'dateTimeFormat' field.- Returns:
- The value.
-
setDateTimeFormat
public SearchInput.Builder setDateTimeFormat(String 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 SearchInput.Builder clearDateTimeFormat()
Clears the value of the 'dateTimeFormat' field.- Returns:
- This builder.
-
getStartIndex
public int getStartIndex()
Gets the value of the 'startIndex' field.- Returns:
- The value.
-
setStartIndex
public SearchInput.Builder setStartIndex(int value)
Sets the value of the 'startIndex' field.- Parameters:
value- The value of 'startIndex'.- Returns:
- This builder.
-
hasStartIndex
public boolean hasStartIndex()
Checks whether the 'startIndex' field has been set.- Returns:
- True if the 'startIndex' field has been set, false otherwise.
-
clearStartIndex
public SearchInput.Builder clearStartIndex()
Clears the value of the 'startIndex' field.- Returns:
- This builder.
-
getSearchFields
public List<SearchInputField> getSearchFields()
Gets the value of the 'searchFields' field.- Returns:
- The value.
-
setSearchFields
public SearchInput.Builder setSearchFields(List<SearchInputField> value)
Sets the value of the 'searchFields' field.- Parameters:
value- The value of 'searchFields'.- Returns:
- This builder.
-
hasSearchFields
public boolean hasSearchFields()
Checks whether the 'searchFields' field has been set.- Returns:
- True if the 'searchFields' field has been set, false otherwise.
-
clearSearchFields
public SearchInput.Builder clearSearchFields()
Clears the value of the 'searchFields' field.- Returns:
- This builder.
-
getExactFilterMatch
public boolean getExactFilterMatch()
Gets the value of the 'exactFilterMatch' field.- Returns:
- The value.
-
setExactFilterMatch
public SearchInput.Builder setExactFilterMatch(boolean value)
Sets the value of the 'exactFilterMatch' field.- Parameters:
value- The value of 'exactFilterMatch'.- Returns:
- This builder.
-
hasExactFilterMatch
public boolean hasExactFilterMatch()
Checks whether the 'exactFilterMatch' field has been set.- Returns:
- True if the 'exactFilterMatch' field has been set, false otherwise.
-
clearExactFilterMatch
public SearchInput.Builder clearExactFilterMatch()
Clears the value of the 'exactFilterMatch' field.- Returns:
- This builder.
-
getDecimalSeparator
public String getDecimalSeparator()
Gets the value of the 'decimalSeparator' field.- Returns:
- The value.
-
setDecimalSeparator
public SearchInput.Builder setDecimalSeparator(String value)
Sets the value of the 'decimalSeparator' field.- Parameters:
value- The value of 'decimalSeparator'.- Returns:
- This builder.
-
hasDecimalSeparator
public boolean hasDecimalSeparator()
Checks whether the 'decimalSeparator' field has been set.- Returns:
- True if the 'decimalSeparator' field has been set, false otherwise.
-
clearDecimalSeparator
public SearchInput.Builder clearDecimalSeparator()
Clears the value of the 'decimalSeparator' field.- Returns:
- This builder.
-
getGroupingSeparator
public String getGroupingSeparator()
Gets the value of the 'groupingSeparator' field.- Returns:
- The value.
-
setGroupingSeparator
public SearchInput.Builder setGroupingSeparator(String value)
Sets the value of the 'groupingSeparator' field.- Parameters:
value- The value of 'groupingSeparator'.- Returns:
- This builder.
-
hasGroupingSeparator
public boolean hasGroupingSeparator()
Checks whether the 'groupingSeparator' field has been set.- Returns:
- True if the 'groupingSeparator' field has been set, false otherwise.
-
clearGroupingSeparator
public SearchInput.Builder clearGroupingSeparator()
Clears the value of the 'groupingSeparator' field.- Returns:
- This builder.
-
build
public SearchInput build()
- Specified by:
buildin interfaceorg.apache.avro.data.RecordBuilder<SearchInput>
-
-