Class DataStore
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.characteristics.DataStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCharacteristicValues
(List<CharacteristicValue> characteristicValues) Adds the given characteristic values to the list of stored characteristic valuesReturns the list of stored characteristic values, which are propagated to the callerGet the name of the underlying database component of the data storeReturns , if known, the database variable name, which is used in returning the data store content to callersvoid
setDatabaseVariableName
(String databaseVariableName) Sets the variable name, which the data store refers to, as it can be unknown
-
Constructor Details
-
DataStore
Create a new DataStore with a given Database component name, and an empty variable name, which might be unknown at the time of creation- Parameters:
databaseComponentName
- Database component name
-
-
Method Details
-
addCharacteristicValues
Adds the given characteristic values to the list of stored characteristic values- Parameters:
characteristicValues
- The list of added characteristic values
-
getDatabaseComponentName
Get the name of the underlying database component of the data store- Returns:
- Returns the name of the database component
-
setDatabaseVariableName
Sets the variable name, which the data store refers to, as it can be unknown- Parameters:
databaseVariableName
- Database variable name, which is set
-
getDatabaseVariableName
Returns , if known, the database variable name, which is used in returning the data store content to callers- Returns:
- An
Optional
containing the database variable name
-
getCharacteristicValues
Returns the list of stored characteristic values, which are propagated to the caller- Returns:
- Return the List of all stored characteristic values
-