Class CompoundModel

    • Constructor Detail

      • CompoundModel

        public CompoundModel()
    • Method Detail

      • getChange

        public IChange getChange()
        Specified by:
        getChange in interface IModel
        Returns:
        change describing the modifications done to the model.
      • setComponent

        public void setComponent​(IComponent<?> component)
        Description copied from interface: IModel
        Associate this model with the component.
        Specified by:
        setComponent in interface IModel
        Overrides:
        setComponent in class Model
        Parameters:
        component - the component to associate with.
      • dispose

        public void dispose()
        Description copied from interface: IModel
        Disposes this model.
        Specified by:
        dispose in interface IModel
        Overrides:
        dispose in class Model
      • isOnline

        public boolean isOnline()
        Specified by:
        isOnline in interface IModel
        Overrides:
        isOnline in class Model
        Returns:
        true if this model is online, false otherwise.
      • addModel

        protected <M extends IModel> M addModel​(M model)
        Adds subordinate model.
        Parameters:
        model - the model to add.