]> gitweb.fperrin.net Git - GpsPrune.git/blob - tim/prune/function/edit/FieldEdit.java
41f38b3c145f266611fb619b0b57e6d0ba7264f4
[GpsPrune.git] / tim / prune / function / edit / FieldEdit.java
1 package tim.prune.function.edit;
2
3 import tim.prune.data.Field;
4
5 /**
6  * Class to hold a single field edit including Field and new value
7  */
8 public class FieldEdit
9 {
10         private Field _field = null;
11         private String _value = null;
12
13         /**
14          * Constructor
15          * @param inField field to edit
16          * @param inValue new value
17          */
18         public FieldEdit(Field inField, String inValue)
19         {
20                 _field = inField;
21                 _value = inValue;
22         }
23
24
25         /**
26          * @return the field
27          */
28         public Field getField()
29         {
30                 return _field;
31         }
32
33         /**
34          * @return the value
35          */
36         public String getValue()
37         {
38                 return _value;
39         }
40 }