/*******************************************************************************
 * Copyright 2014 Federico Iosue (federico.iosue@gmail.com)
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *   http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 ******************************************************************************/
package it.feio.android.omninotes.commons.models;


public class Tag {
	private Integer id;
	private String name;
	private String description;
	private String color;

	public Tag(){
		super();
	}
	
	
	public Tag(Integer id, String title, String description, String color) {
		super();
		this.id = id;
		this.name = title;
		this.description = description;
		this.color = color;
	}




	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String title) {
		this.name = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}
}

@@ -136,17 +136,16 @@
 .com)%0A *
- 
 %0A * Lice
@@ -317,17 +317,16 @@
 se at%0A *
- 
 %0A *   ht
@@ -368,17 +368,16 @@
 E-2.0%0A *
- 
 %0A * Unle
@@ -846,52 +846,13 @@
 g %7B%0A
-%09private Integer id;%0A%09private String name;%0A%09
+%0A    
 priv
@@ -866,30 +866,26 @@
 ing 
-description;%0A%09
+text;%0A    
 private 
 Stri
@@ -884,24 +884,25 @@
 ate 
-Str
 in
-g color;%0A%0A%09
+t count;%0A%0A%0A    
 publ
@@ -909,20 +909,27 @@
 ic Tag()
+ 
 %7B%0A
-%09%09
+        
 super();
@@ -933,661 +933,379 @@
 ();%0A
-%09%7D%0A%09%0A%09%0A%09public Tag(Integer id, String title, String description, String color) %7B%0A%09%09super();%0A%09%09this.id = id;%0A%09%09this.name = title;%0A%09%09this.description = description;%0A%09%09this.color = color;%0A%09%7D%0A%0A%0A%0A%0A%09
+    %7D%0A%0A%0A    public Tag(String text, int count) %7B%0A        this.text = text;%0A        this.count = count;%0A    %7D%0A%0A%0A    
 public 
-Integer getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public void setId(Integer id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%0A%09public String getName() %7B%0A%09%09return name;%0A%09%7D%0A%0A%09public void setName(String title) %7B%0A%09%09this.name = title;%0A%09%7D%0A%0A%09public String getDescription() %7B%0A%09%09return description;%0A%09%7D%0A%0A%09public void setDescription(String description) %7B%0A%09%09this.description = description;%0A%09%7D%0A%0A%09public String getColor() %7B%0A%09%09return color;%0A%09%7D%0A%0A%09public void setColor(String color) %7B%0A%09%09this.color = color;%0A%09
+int getCount() %7B%0A        return count;%0A    %7D%0A%0A%0A    public void setCount(int count) %7B%0A        this.count = count;%0A    %7D%0A%0A%0A    public String getText() %7B%0A        return text;%0A    %7D%0A%0A%0A    public void setText(String text) %7B%0A        this.text = text;%0A    
 %7D%0A%7D%0A

Tag changes