Coverage Report - de.glossmaker.undo.UndoableItem
 
Classes in this File Line Coverage Branch Coverage Complexity
UndoableItem
100%
13/13
N/A
1
 
 1  
 package de.glossmaker.undo;
 2  
 
 3  
 import de.glossmaker.gloss.undo.UndoGlossStack;
 4  
 
 5  
 /**
 6  
  * This class represents an element that can be stored in the {@link UndoGlossStack}.
 7  
  * 
 8  
  * @author Markus Flingelli
 9  
  *
 10  
  */
 11  1
 public class UndoableItem implements IUndoableItem {
 12  1
         private String mPropertyName = null;
 13  1
         private Object mNewValue = null;
 14  1
         private Object mOldValue = null;
 15  
                 
 16  
         public Object getOldValue() {
 17  1
                 return mOldValue;
 18  
         }
 19  
         public void setOldValue(Object value) {
 20  1
                 mOldValue = value;
 21  1
         }
 22  
         
 23  
         public Object getNewValue() {
 24  1
                 return mNewValue;
 25  
         }
 26  
         public void setNewValue(Object value) {
 27  1
                 mNewValue = value;
 28  1
         }
 29  
         public String getPropertyName() {
 30  1
                 return mPropertyName;
 31  
         }
 32  
         public void setPropertyName(String propertyName) {
 33  1
                 mPropertyName = propertyName;
 34  1
         }
 35  
         
 36  
                         
 37  
 }