X-Git-Url: http://gitweb.fperrin.net/?p=GpsPrune.git;a=blobdiff_plain;f=src%2Ftim%2Fprune%2Ffunction%2Fedit%2FFieldEdit.java;fp=src%2Ftim%2Fprune%2Ffunction%2Fedit%2FFieldEdit.java;h=41f38b3c145f266611fb619b0b57e6d0ba7264f4;hp=0000000000000000000000000000000000000000;hb=ce6f2161b8596f7018d6a76bff79bc9e571f35fd;hpb=2d8cb72e84d5cc1089ce77baf1e34ea3ea2f8465 diff --git a/src/tim/prune/function/edit/FieldEdit.java b/src/tim/prune/function/edit/FieldEdit.java new file mode 100644 index 0000000..41f38b3 --- /dev/null +++ b/src/tim/prune/function/edit/FieldEdit.java @@ -0,0 +1,40 @@ +package tim.prune.function.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; + } +}