package jp.ac.nii.prl.mape.monitoring.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;

@Entity
public class Tag {
	
	@Id
	@GeneratedValue
	public long id;
	private String key;
	private String value;
	
	@ManyToOne
	private Instance instance;
	
	public Instance getInstance() {
		return instance;
	}

	public void setInstance(Instance instance) {
		this.instance = instance;
	}

	public String getKey(){
		return key;
	}
	
	public String getValue(){
		return value;
	}
	
	public void setKey(String key){
	   this.key = key;
	}
	
	public void setValue(String value){
		this.value = value;
	}
}




@@ -186,16 +186,71 @@
 One;%0D%0A%0D%0A
+import com.fasterxml.jackson.annotation.JsonIgnore;%0D%0A%0D%0A
 @Entity%0D
@@ -297,16 +297,30 @@
 dValue%0D%0A
+%09@JsonIgnore%0D%0A
 %09public 
@@ -378,16 +378,16 @@
 ue;%0D%0A%09%0D%0A
-
 %09@ManyTo
@@ -391,16 +391,30 @@
 yToOne%0D%0A
+%09@JsonIgnore%0D%0A
 %09private

add json ingore