Class DatabaseActionSequenceElement<T extends org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.repository.OperationalDataStoreComponent>
java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.AbstractActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.AbstractPCMActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.DatabaseActionSequenceElement<T>
public class DatabaseActionSequenceElement<T extends org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.repository.OperationalDataStoreComponent>
extends AbstractPCMActionSequenceElement<T>
-
Constructor Summary
ConstructorDescriptionDatabaseActionSequenceElement
(DatabaseActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Constructs a new Database Action Sequence Element given an old Database Action Sequence Element and an updated List of dataflow variables and Node characteristicsDatabaseActionSequenceElement
(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, boolean isWriting, DataStore dataStore) Create a new Database Action Sequence Element with the underlying Palladio Element, Assembly Context, DataStore and indication wheter the Data Store is written to -
Method Summary
Modifier and TypeMethodDescriptioncreatePrintableDatabaseInformation
(List<DataFlowVariable> variables) evaluateDataFlow
(List<DataFlowVariable> variables) Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursorprotected List<CharacteristicValue>
boolean
toString()
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.pcm.AbstractPCMActionSequenceElement
equals, getContext, getElement, hashCode
Methods inherited from class org.palladiosimulator.dataflow.confidentiality.analysis.sequence.entity.AbstractActionSequenceElement
createPrintableCharacteristicsList, createPrintableNodeInformation, getAllDataFlowVariables, getAllNodeCharacteristics, getDataFlowCharacteristicsWithName, getNodeCharacteristicsWithName, isEvaluated
-
Constructor Details
-
DatabaseActionSequenceElement
public DatabaseActionSequenceElement(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context, boolean isWriting, DataStore dataStore) Create a new Database Action Sequence Element with the underlying Palladio Element, Assembly Context, DataStore and indication wheter the Data Store is written to- Parameters:
element
- Underlying Palladio Elementcontext
- Assembly Context of the SEFFisWriting
- Is true, if the data store is written to. Otherwise, the data store is read fromdataStore
- Reference to the data store that is attached to this Database Action Sequence Element
-
DatabaseActionSequenceElement
public DatabaseActionSequenceElement(DatabaseActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics) Constructs a new Database Action Sequence Element given an old Database Action Sequence Element and an updated List of dataflow variables and Node characteristics- Parameters:
oldElement
- Old Database Action Sequence element, which attributes are copieddataFlowVariables
- Updated list of dataflow variablesnodeCharacteristics
- Updated list of node characteristics
-
-
Method Details
-
evaluateDataFlow
Description copied from class:AbstractActionSequenceElement
Evaluates the Data Flow at a given sequence element given the list ofDataFlowVariable
s that are received from the precursor- Specified by:
evaluateDataFlow
in classAbstractActionSequenceElement<T extends org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.repository.OperationalDataStoreComponent>
- Parameters:
variables
- List ofDataFlowVariable
s propagated from the precursor- Returns:
- Returns a new Sequence element with the updated Node- and DataFlowVariables
-
evaluateNodeCharacteristics
-
isWriting
public boolean isWriting() -
getDataStore
-
toString
- Specified by:
toString
in classAbstractActionSequenceElement<T extends org.palladiosimulator.dataflow.confidentiality.pcm.model.confidentiality.repository.OperationalDataStoreComponent>
-
createPrintableDatabaseInformation
-