/**
*@author Sergey Zhernovoy
*@since 01-07-2016
*это класс документ заявка 
*/

package ru.szhernovoy.tracker.models;

class Item {

	private String id;
	private String name;
	private String description;
	private long create;
	
	public Item(String name, String descr, long create){
		this.name = name;
		this.description = descr;
		this.create = create;
	}
	
	public void setName(String name){
			this.name = name;
	}
	
	public void setDescr(String descr){
			this.description = descr;
	}
	
	public void setData(long data){
			this.create = data;
	}
	
	public void setId(String id){
			this.id = id;
	}
	
	public String getName(){
		return this.name;	
	}
	
	public String getDescr(){
		return this.description;	
	}
	
	public long getCreate(){
		return this.create;	
	}
	
	public String getId(){
		return this.id;	
	}
	
}
@@ -220,17 +220,124 @@
 create;%0A
-%09
+%0A%09/**%0A%09 * Setting initial parameters while create%0A%09 * @param name%0A%09 * @param descr%0A%09 * @param create%0A     */
 %0A%09public
@@ -454,25 +454,76 @@
  create;%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Setting field name%0A%09 * @param name%0A     */
 %0A%09public voi
@@ -566,25 +566,85 @@
  = name;%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Setting field description.%0A%09 * @param descr%0A     */
 %0A%09public voi
@@ -697,25 +697,89 @@
 = descr;%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Setting field data time create.%0A%09 * @param data%0A     */
 %0A%09public voi
@@ -822,25 +822,67 @@
  = data;%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Setting id.%0A%09 * @param id%0A     */
 %0A%09public voi
@@ -917,25 +917,74 @@
 id = id;%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Get field name.%0A%09 * @return name%0A     */
 %0A%09public Str
@@ -1018,25 +1018,87 @@
 s.name;%09%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Get field description.%0A%09 * @return decription%0A     */
 %0A%09public Str
@@ -1140,25 +1140,78 @@
 iption;%09%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Get field create.%0A%09 * @return create%0A     */
 %0A%09public lon
@@ -1251,17 +1251,66 @@
 te;%09%0A%09%7D%0A
-%09
+%0A%09/**%0A%09 * Get field id.%0A%09 * @return id%0A%09 *%0A     */
 %0A%09public
@@ -1347,12 +1347,10 @@
 .id;
-%09
 %0A%09%7D%0A
-%09
 %0A%7D

update SRP