public void restore(Object objMemento){
    Memento memento =(Memento)objMemento;
    personName = memento.mementoPersonName;
    dayNumber = memento.mementoDayNumber;
    weight = memento.mementoWeight;
    }