package fr.insee.rmes.api.correspondences;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

@JacksonXmlRootElement(localName="Associations")
@XmlAccessorType(XmlAccessType.FIELD)
public class Associations {
	
	@JsonProperty("associations")
	@JacksonXmlProperty(localName="Association")
	@JacksonXmlElementWrapper(useWrapping = false)
	private List<Association> correspondences = new ArrayList<Association>();
	
	public Associations() {

	}

	
	public List<Association> getCorrespondences() {
		return correspondences;
	}

	public void setCorrespondences(List<Association> correspondences) {
		this.correspondences = correspondences;
	}
	
	

}

@@ -746,30 +746,27 @@
 iation%3E 
-correspondence
+association
 s = new 
@@ -854,30 +854,27 @@
 ion%3E get
-Correspondence
+Association
 s() %7B%0A%09%09
@@ -880,30 +880,27 @@
 %09return 
-correspondence
+association
 s;%0A%09%7D%0A%0A%09
@@ -918,22 +918,19 @@
  set
-Correspondence
+Association
 s(Li
@@ -949,66 +949,57 @@
 on%3E 
-correspondences) %7B%0A%09%09this.correspondences = correspondence
+associations) %7B%0A%09%09this.associations = association
 s;%0A%09

Update Associations.java