Package com.sap.ai.sdk.grounding.model
Class Right
java.lang.Object
com.sap.ai.sdk.grounding.model.Right
Right
-
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 enumGets or Sets operatorstatic enumGets or Sets scope -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValueItem(String valueItem) Add one value instance to thisRight.static Right.Buildercreate()Create a type-safe, fluent-api builder object to construct a newRightinstance with all required arguments.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theRight.getKey()Get keygetLeft()Get leftGet operatorgetRight()Get rightgetScope()Get scopegetValue()Get valueinthashCode()Set the key of thisRightinstance and return the same instance.Set the left of thisRightinstance and return the same instance.operator(Right.OperatorEnum operator) Set the operator of thisRightinstance and return the same instance.Set the right of thisRightinstance and return the same instance.scope(Right.ScopeEnum scope) Set the scope of thisRightinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisRightinstance.voidSet the key of thisRightinstance.voidSet the left of thisRightinstance.voidsetOperator(Right.OperatorEnum operator) Set the operator of thisRightinstance.voidSet the right of thisRightinstance.voidsetScope(Right.ScopeEnum scope) Set the scope of thisRightinstance.voidSet the value of thisRightinstance.toMap()Get the value of all properties of thisRightinstance including unrecognized properties.toString()Set the value of thisRightinstance and return the same instance.
-
Constructor Details
-
Right
protected Right()Default constructor for Right.
-
-
Method Details
-
operator
Set the operator of thisRightinstance and return the same instance. -
getOperator
Get operator- Returns:
- operator The operator of this
Rightinstance.
-
setOperator
Set the operator of thisRightinstance.- Parameters:
operator- The operator of thisRight
-
left
Set the left of thisRightinstance and return the same instance. -
getLeft
Get left- Returns:
- left The left of this
Rightinstance.
-
setLeft
Set the left of thisRightinstance.- Parameters:
left- The left of thisRight
-
right
Set the right of thisRightinstance and return the same instance. -
getRight
Get right- Returns:
- right The right of this
Rightinstance.
-
setRight
Set the right of thisRightinstance.- Parameters:
right- The right of thisRight
-
key
Set the key of thisRightinstance and return the same instance. -
getKey
Get key- Returns:
- key The key of this
Rightinstance.
-
setKey
Set the key of thisRightinstance.- Parameters:
key- The key of thisRight
-
value
Set the value of thisRightinstance and return the same instance. -
addValueItem
Add one value instance to thisRight.- Parameters:
valueItem- The value that should be added- Returns:
- The same instance of type
Right
-
getValue
Get value- Returns:
- value The value of this
Rightinstance.
-
setValue
Set the value of thisRightinstance.- Parameters:
value- The value of thisRight
-
scope
Set the scope of thisRightinstance and return the same instance. -
getScope
Get scope- Returns:
- scope The scope of this
Rightinstance.
-
setScope
Set the scope of thisRightinstance.- Parameters:
scope- The scope of thisRight
-
getCustomFieldNames
Get the names of the unrecognizable properties of theRight.- 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 thisRightinstance.- 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 thisRightinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisRightinstance. 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 newRightinstance with all required arguments.
-
toMap()instead.