Package com.sap.ai.sdk.grounding.model
Class Right1
java.lang.Object
com.sap.ai.sdk.grounding.model.Right1
Right operand of the boolean expression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static interfaceBuilder helper class.static enumBoolean operator for combining filter conditionsstatic enumScope of the metadata filter (e.g., collection, document, chunk) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValueItem(String valueItem) Add one value instance to thisRight1.static Right1.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRight1instance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRight1.getKey()Get keygetLeft()Get leftBoolean operator for combining filter conditionsgetRight()Get rightgetScope()Scope of the metadata filter (e.g., collection, document, chunk)getValue()Get valueinthashCode()Set the key of thisRight1instance and return the same instance.Set the left of thisRight1instance and return the same instance.operator(Right1.OperatorEnum operator) Set the operator of thisRight1instance and return the same instance.Set the right of thisRight1instance and return the same instance.scope(Right1.ScopeEnum scope) Set the scope of thisRight1instance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRight1instance.voidSet the key of thisRight1instance.voidSet the left of thisRight1instance.voidsetOperator(Right1.OperatorEnum operator) Set the operator of thisRight1instance.voidSet the right of thisRight1instance.voidsetScope(Right1.ScopeEnum scope) Set the scope of thisRight1instance.voidSet the value of thisRight1instance.toMap()Get the value of all properties of thisRight1instance including unrecognized properties.toString()Set the value of thisRight1instance and return the same instance.
-
Constructor Details
-
Right1
protected Right1()Default constructor for Right1.
-
-
Method Details
-
operator
Set the operator of thisRight1instance and return the same instance.- Parameters:
operator- Boolean operator for combining filter conditions- Returns:
- The same instance of this
Right1class
-
getOperator
Boolean operator for combining filter conditions- Returns:
- operator The operator of this
Right1instance.
-
setOperator
Set the operator of thisRight1instance.- Parameters:
operator- Boolean operator for combining filter conditions
-
left
Set the left of thisRight1instance and return the same instance. -
getLeft
Get left- Returns:
- left The left of this
Right1instance.
-
setLeft
Set the left of thisRight1instance.- Parameters:
left- The left of thisRight1
-
right
Set the right of thisRight1instance and return the same instance. -
getRight
Get right- Returns:
- right The right of this
Right1instance.
-
setRight
Set the right of thisRight1instance.- Parameters:
right- The right of thisRight1
-
key
Set the key of thisRight1instance and return the same instance. -
getKey
Get key- Returns:
- key The key of this
Right1instance.
-
setKey
Set the key of thisRight1instance.- Parameters:
key- The key of thisRight1
-
value
Set the value of thisRight1instance and return the same instance. -
addValueItem
Add one value instance to thisRight1.- Parameters:
valueItem- The value that should be added- Returns:
- The same instance of type
Right1
-
getValue
Get value- Returns:
- value The value of this
Right1instance.
-
setValue
Set the value of thisRight1instance.- Parameters:
value- The value of thisRight1
-
scope
Set the scope of thisRight1instance and return the same instance.- Parameters:
scope- Scope of the metadata filter (e.g., collection, document, chunk)- Returns:
- The same instance of this
Right1class
-
getScope
Scope of the metadata filter (e.g., collection, document, chunk)- Returns:
- scope The scope of this
Right1instance.
-
setScope
Set the scope of thisRight1instance.- Parameters:
scope- Scope of the metadata filter (e.g., collection, document, chunk)
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRight1.- 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 thisRight1instance.- 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 thisRight1instance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRight1instance. 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 newRight1instance with all required arguments.
-
toMap()instead.