Class AbstractPCMActionSequenceElement<T extends org.palladiosimulator.pcm.core.entity.Entity>

java.lang.Object
org.palladiosimulator.dataflow.confidentiality.analysis.entity.sequence.AbstractActionSequenceElement<T>
org.palladiosimulator.dataflow.confidentiality.analysis.entity.pcm.AbstractPCMActionSequenceElement<T>
Direct Known Subclasses:
DatabaseActionSequenceElement, SEFFActionSequenceElement, UserActionSequenceElement

public abstract class AbstractPCMActionSequenceElement<T extends org.palladiosimulator.pcm.core.entity.Entity> extends AbstractActionSequenceElement<T>
  • Constructor Details

    • AbstractPCMActionSequenceElement

      public AbstractPCMActionSequenceElement(T element, Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> context)
      Constructs a new Action Sequence Element with the underlying Palladio Element and Assembly Context
      Parameters:
      element - Underlying Palladio Element of the Sequence Element
      context - Assembly context of the Palladio Element
    • AbstractPCMActionSequenceElement

      public AbstractPCMActionSequenceElement(AbstractPCMActionSequenceElement<T> oldElement, List<DataFlowVariable> dataFlowVariables, List<CharacteristicValue> nodeCharacteristics)
      Builds a new Sequence element with an existing element and a list of Node and DataFlow variables
      Parameters:
      oldElement - Old element, which element and context should be copied
      dataFlowVariables - DataFlow variables, which should be present for the action sequence element
      nodeCharacteristics - Node characteristics, which should be present for the action sequence element
  • Method Details

    • getNodeCharacteristics

      protected List<CharacteristicValue> getNodeCharacteristics(AnalysisData analysisData)
      Calculate the node characteristics for the sequence element with the given analysis data
      Parameters:
      analysisData - Analysis data containing the node characteristics calculator
      Returns:
      Returns a list of node characteristics that are applied to the sequence element
    • getDataFlowVariables

      protected List<DataFlowVariable> getDataFlowVariables(AnalysisData analysisData, List<CharacteristicValue> nodeCharacteristics, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations, List<DataFlowVariable> oldDataFlowVariables)
      Calculate the data characteristics for the sequence element with the given analysis data
      Parameters:
      analysisData - Analysis data containing the node characteristics calculator
      Returns:
      Returns a list of data characteristics that are applied to the sequence element
    • checkCallParameter

      protected void checkCallParameter(org.palladiosimulator.pcm.repository.OperationSignature callSigniture, List<org.palladiosimulator.pcm.parameter.VariableCharacterisation> variableCharacterisations)
      Checks the parameters to the call signature for characterizations that have no impact on the results at all
      Parameters:
      callSigniture - Call Signature of the call
      variableCharacterisations - Variable characterizations that are applied to the sequence element
    • getElement

      public T getElement()
      Return the saved element of the sequence element
      Returns:
    • getContext

      public Deque<org.palladiosimulator.pcm.core.composition.AssemblyContext> getContext()
      Returns the assembly contexts of the sequence element
      Returns:
      Returns a Deque of AssemblyContexts that the sequence element has
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object