Class ValueWorkingCopy<T>

    • Constructor Detail

      • ValueWorkingCopy

        public ValueWorkingCopy​(IValue<T> original)
        Instantiates a new value working copy.
        Parameters:
        original - the original value.
    • Method Detail

      • getChange

        public IChange getChange()
        Returns:
        change describing the modifications done to the 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.
      • getOriginalModel

        protected final IValue<T> getOriginalModel()
        Returns the original value model.
        Returns:
        the original value model.