Package com.sap.ai.sdk.grounding.model
Class BinaryBooleanFilter
java.lang.Object
com.sap.ai.sdk.grounding.model.BinaryBooleanFilter
BinaryBooleanFilter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumBoolean operator for combining filter conditions -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for BinaryBooleanFilter. -
Method Summary
Modifier and TypeMethodDescriptionstatic BinaryBooleanFilter.Buildercreate()Create a type-safe, fluent-api builder object to construct a newBinaryBooleanFilterinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theBinaryBooleanFilter.getLeft()Get leftBoolean operator for combining filter conditionsgetRight()Get rightinthashCode()Set the left of thisBinaryBooleanFilterinstance and return the same instance.operator(BinaryBooleanFilter.OperatorEnum operator) Set the operator of thisBinaryBooleanFilterinstance and return the same instance.Set the right of thisBinaryBooleanFilterinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisBinaryBooleanFilterinstance.voidSet the left of thisBinaryBooleanFilterinstance.voidsetOperator(BinaryBooleanFilter.OperatorEnum operator) Set the operator of thisBinaryBooleanFilterinstance.voidSet the right of thisBinaryBooleanFilterinstance.toMap()Get the value of all properties of thisBinaryBooleanFilterinstance including unrecognized properties.toString()
-
Constructor Details
-
BinaryBooleanFilter
protected BinaryBooleanFilter()Default constructor for BinaryBooleanFilter.
-
-
Method Details
-
operator
Set the operator of thisBinaryBooleanFilterinstance and return the same instance.- Parameters:
operator- Boolean operator for combining filter conditions- Returns:
- The same instance of this
BinaryBooleanFilterclass
-
getOperator
Boolean operator for combining filter conditions- Returns:
- operator The operator of this
BinaryBooleanFilterinstance.
-
setOperator
Set the operator of thisBinaryBooleanFilterinstance.- Parameters:
operator- Boolean operator for combining filter conditions
-
left
Set the left of thisBinaryBooleanFilterinstance and return the same instance.- Parameters:
left- The left of thisBinaryBooleanFilter- Returns:
- The same instance of this
BinaryBooleanFilterclass
-
getLeft
Get left- Returns:
- left The left of this
BinaryBooleanFilterinstance.
-
setLeft
Set the left of thisBinaryBooleanFilterinstance.- Parameters:
left- The left of thisBinaryBooleanFilter
-
right
Set the right of thisBinaryBooleanFilterinstance and return the same instance.- Parameters:
right- The right of thisBinaryBooleanFilter- Returns:
- The same instance of this
BinaryBooleanFilterclass
-
getRight
Get right- Returns:
- right The right of this
BinaryBooleanFilterinstance.
-
setRight
Set the right of thisBinaryBooleanFilterinstance.- Parameters:
right- The right of thisBinaryBooleanFilter
-
getCustomFieldNames
Get the names of the unrecognizable properties of theBinaryBooleanFilter.- Returns:
- The set of properties names
-
getCustomField
@Nullable @Deprecated public Object getCustomField(@Nonnull String name) throws NoSuchElementException Deprecated.UsetoMap()instead.Get the value of an unrecognizable property of thisBinaryBooleanFilterinstance.- Parameters:
name- The name of the property- Returns:
- The value of the property
- Throws:
NoSuchElementException- If no property with the given name could be found.
-
toMap
Get the value of all properties of thisBinaryBooleanFilterinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisBinaryBooleanFilterinstance. If the map previously contained a mapping for the key, the old value is replaced by the specified value.- Parameters:
customFieldName- The name of the propertycustomFieldValue- The value of the property
-
equals
-
hashCode
public int hashCode() -
toString
-
create
Create a type-safe, fluent-api builder object to construct a newBinaryBooleanFilterinstance with all required arguments.
-
toMap()instead.