Class AddAction<T>


  • public class AddAction<T>
    extends Action
    • Constructor Summary

      Constructors 
      Constructor Description
      AddAction​(Context context, T newValue)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T getChangedValue()
      get the changed value of the model
      T getNewValue()
      Returns the added element
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AddAction

        public AddAction​(Context context,
                         T newValue)
    • Method Detail

      • getChangedValue

        public T getChangedValue()
        Description copied from class: Action
        get the changed value of the model
        Specified by:
        getChangedValue in class Action
        Returns:
        the changed value
      • getNewValue

        public T getNewValue()
        Returns the added element
        Returns:
        the new element