X-Git-Url: https://gitweb.fperrin.net/?a=blobdiff_plain;f=tim%2Fprune%2Fedit%2FFieldEdit.java;fp=tim%2Fprune%2Fedit%2FFieldEdit.java;h=5877ab1799a1851e785c5c46a4284c0b3f04fa69;hb=23959e65a6a0d581e657b07186d18b7a1ac5afeb;hp=0000000000000000000000000000000000000000;hpb=d3679d647d57c2ee7376ddbf6def2d5b23c04307;p=GpsPrune.git diff --git a/tim/prune/edit/FieldEdit.java b/tim/prune/edit/FieldEdit.java new file mode 100644 index 0000000..5877ab1 --- /dev/null +++ b/tim/prune/edit/FieldEdit.java @@ -0,0 +1,40 @@ +package tim.prune.edit; + +import tim.prune.data.Field; + +/** + * Class to hold a single field edit including Field and new value + */ +public class FieldEdit +{ + private Field _field = null; + private String _value = null; + + /** + * Constructor + * @param inField field to edit + * @param inValue new value + */ + public FieldEdit(Field inField, String inValue) + { + _field = inField; + _value = inValue; + } + + + /** + * @return the field + */ + public Field getField() + { + return _field; + } + + /** + * @return the value + */ + public String getValue() + { + return _value; + } +}