Class Aggregatable

    • Field Detail

      • myAggregates

        protected java.util.List<Aggregate> myAggregates
        The aggregatable's list of aggregates. An aggregate can be formed from aggregatables and react to changes in the aggregatables. Lazy initialization is used for this list. No list is created until the aggregatable is added to an aggregate.
    • Constructor Detail

      • Aggregatable

        public Aggregatable​(ModelElement parent)
        Parameters:
        parent -
      • Aggregatable

        public Aggregatable​(ModelElement parent,
                            java.lang.String name)
        Parameters:
        parent -
        name -
    • Method Detail

      • attachAggregate

        protected void attachAggregate​(Aggregate aggregate)
        This method is called by Aggregate to register itself as an aggregate for this variable, when it is told to observe the variable
        Parameters:
        aggregate - the aggregate to attach
      • detachAggregate

        protected void detachAggregate​(Aggregate aggregate)
        This method is called by Aggregate to unregister itself as an aggregate for this variable, when it is told to stop observing the variable
        Parameters:
        aggregate - the aggregate to detach
      • removedFromModel

        protected void removedFromModel()
        This method should be overridden by subclasses that need actions performed when a model element is removed from a model after the replication has started.
        Overrides:
        removedFromModel in class ModelElement
      • notifyAggregatesOfInitialization

        protected void notifyAggregatesOfInitialization()
        Notifies any aggregates that initialization has occurred.
      • notifyAggregatesOfWarmUp

        protected void notifyAggregatesOfWarmUp()
        Notifies any aggregates that warm up has occurred.
      • notifyAggregatesOfValueChange

        protected void notifyAggregatesOfValueChange()
        Notifies any aggregates that its value has changed
      • notifyAggregatesOfModelRemoval

        protected void notifyAggregatesOfModelRemoval()
        Notifies any aggregates that the element has been removed from the model
      • initialize_

        protected void initialize_()
        Description copied from class: ModelElement
        The initialize_ method allows model elements to be initialized to a standard reactor defined state. It is called by default before each replication

        This method ensures that each contained model element has its initialize method called and that any observers will be notified of this action

        Overrides:
        initialize_ in class ModelElement
      • warmUp_

        protected void warmUp_()
        Description copied from class: ModelElement
        The warmUp_ method is called once during each replication. This method ensures that each contained model element that requires a warm up action will performs its actions.
        Overrides:
        warmUp_ in class ModelElement