Package com.sap.ai.sdk.core.model
Class KpiResultSet
java.lang.Object
com.sap.ai.sdk.core.model.KpiResultSet
KpiResultSet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRowsItem(List<KpiResultRowItem> rowsItem) Add one rows instance to thisKpiResultSet.static KpiResultSetcreate()Create a newKpiResultSetinstance.booleangetCustomField(String name) Deprecated.Get the names of the unrecognizable properties of theKpiResultSet.Get headergetRows()Get rowsinthashCode()rows(List<List<KpiResultRowItem>> rows) Set the rows of thisKpiResultSetinstance and return the same instance.voidsetCustomField(String customFieldName, Object customFieldValue) Set an unrecognizable property of thisKpiResultSetinstance.voidsetRows(List<List<KpiResultRowItem>> rows) Set the rows of thisKpiResultSetinstance.toMap()Get the value of all properties of thisKpiResultSetinstance including unrecognized properties.toString()
-
Constructor Details
-
KpiResultSet
protected KpiResultSet()Default constructor for KpiResultSet.
-
-
Method Details
-
getHeader
Get header- Returns:
- header The header of this
KpiResultSetinstance.
-
rows
Set the rows of thisKpiResultSetinstance and return the same instance.- Parameters:
rows- The rows of thisKpiResultSet- Returns:
- The same instance of this
KpiResultSetclass
-
addRowsItem
Add one rows instance to thisKpiResultSet.- Parameters:
rowsItem- The rows that should be added- Returns:
- The same instance of type
KpiResultSet
-
getRows
Get rows- Returns:
- rows The rows of this
KpiResultSetinstance.
-
setRows
Set the rows of thisKpiResultSetinstance.- Parameters:
rows- The rows of thisKpiResultSet
-
getCustomFieldNames
Get the names of the unrecognizable properties of theKpiResultSet.- 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 thisKpiResultSetinstance.- 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 thisKpiResultSetinstance including unrecognized properties.- Returns:
- The map of all properties
-
setCustomField
Set an unrecognizable property of thisKpiResultSetinstance. 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 newKpiResultSetinstance. No arguments are required.
-
toMap()instead.