package com.inman.model.rest;

public class ItemUpdateRequest {
	public static final String updateUrl = "item/update";
	private static int numberOfExpectedParameters = 2;
	
	long id;
	String summaryId;
	String description;
	double unitCost;
	
	public ItemUpdateRequest() {
		
	}
	
	
	public ItemUpdateRequest( long id, String summaryId, String description, double cost ) {
		this.id = id;
		this.summaryId = summaryId.trim();
		this.description = description.trim();
		this.unitCost = cost;
	}
	
	public long getId() {
		return id;
	}
	public String getSummaryId() {
		return summaryId;
	}
	public void setSummaryId(String summaryId) {
		this.summaryId = summaryId;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public double getUnitCost() {
		return unitCost;
	}
	public void setUnitCost( double cost) {
		this.unitCost = cost;
	}
	public void setId(long id ) {
		this.id = id;
	}
}

@@ -234,18 +234,36 @@
 itCost;%0A
+%09String sourcing;%0A
 %09%0A
-
 %09public 
@@ -379,16 +379,43 @@
 ble cost
+,%0A%09%09%09%09%09%09%09  String xSourcing
  ) %7B%0A%09%09t
@@ -501,24 +501,24 @@
 ion.trim();%0A
-
 %09%09this.unitC
@@ -525,24 +525,53 @@
 ost = cost;%0A
+%09%09this.sourcing = xSourcing;%0A
 %09%7D%0A%09%0A%09public
@@ -1052,11 +1052,143 @@
 = id;%0A%09%7D
+%0A%0A%09public void setSourcing( String xSourcing ) %7B this.sourcing = xSourcing; %7D%0A%09public String getSourcing() %7B return this.sourcing; %7D
 %0A%7D%0A

Add sourcing to request