@@ -0,0 +1,409 @@
+/**%0A*%0A* @author levisjani%0A*/%0A%0Apublic class Originator %7B%0A   private String state;%0A%0A   public void setState(String state)%7B%0A      this.state = state;%0A   %7D%0A%0A   public String getState()%7B%0A      return state;%0A   %7D%0A%0A   public Memento saveStateToMemento()%7B%0A      return new Memento(state);%0A   %7D%0A%0A   public void getStateFromMemento(Memento memento)%7B%0A       if (memento!=null)%0A        state = memento.getState();%0A   %7D%0A%7D%0A

Create Originator.java