Class Subscription


  • public class Subscription
    extends Object
    keeps track of the parameters and containers subscribed (because we only want to extract those)
    • Method Detail

      • addAll

        public void addAll​(SequenceContainer seq)
        Called in the cases when seq is part of other containers through aggregation. The parent container will need to know the size of this one so we add all entries of seq.
        Parameters:
        seq -
      • addSequenceEntry

        public void addSequenceEntry​(SequenceEntry se)
      • addParameter

        public void addParameter​(Parameter parameter)
        Add to the subscription all the entries and containers on which this parameter depends
        Parameters:
        parameter -
      • getContainers

        public Collection<SequenceContainer> getContainers()
        Get the set of all containers subscribed
        Returns:
        set of containers subscribed