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