package org.fao.fenix.commons.msd.dto.full;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.fao.fenix.commons.annotations.Description;
import org.fao.fenix.commons.annotations.Label;
import org.fao.fenix.commons.msd.dto.JSONEntity;

import javax.persistence.Embedded;
import java.io.Serializable;
import java.util.Map;

public class SeConfidentiality extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private Map<String, String> confidentialityPolicy;

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private Map<String, String> confidentialityDataTreatment;

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private OjCodeList confidentialityStatus;


    public Map<String, String> getConfidentialityPolicy() {
        return confidentialityPolicy;
    }

    public void setConfidentialityPolicy(Map<String, String> confidentialityPolicy) {
        this.confidentialityPolicy = confidentialityPolicy;
    }

    public Map<String, String> getConfidentialityDataTreatment() {
        return confidentialityDataTreatment;
    }

    public void setConfidentialityDataTreatment(Map<String, String> confidentialityDataTreatment) {
        this.confidentialityDataTreatment = confidentialityDataTreatment;
    }

    public OjCodeList getConfidentialityStatus() {
        return confidentialityStatus;
    }
    @Embedded
    public void setConfidentialityStatus(OjCodeList confidentialityStatus) {
        this.confidentialityStatus = confidentialityStatus;
    }
}

@@ -433,32 +433,56 @@
 %0A    @Label(en=%22
+Confidentiality - Policy
 %22)%0A    @Descript
@@ -494,249 +494,768 @@
 n= %22
-%22)%0A    private Map%3CString, String%3E confidentialityPolicy;%0A%0A    @JsonProperty%0A    @Label(en=%22%22)%0A    @Description(en= %22%22)%0A    private Map%3CString, String%3E confidentialityDataTreatment;%0A%0A    @JsonProperty%0A    @Label(en=%22%22)%0A    @Description(en= %22
+Legislative measures or other formal procedures which prevent unauthorized disclosure of data that identify a person or economic entity either directly or indirectly. It consists in textual description and references to legislation or other rules related to statistical confidentiality.%22)%0A    private Map%3CString, String%3E confidentialityPolicy;%0A%0A    @JsonProperty%0A    @Label(en=%22Confidentiality - Data treatment%22)%0A    @Description(en= %22Rules applied for treating the resource to ensure confidentiality and prevent unauthorized disclosure.%22)%0A    private Map%3CString, String%3E confidentialityDataTreatment;%0A%0A    @JsonProperty%0A    @Label(en=%22Status of confidentiality%22)%0A    @Description(en= %22Coded information describing the degree of con%0Cdentiality of the resource.
 %22)%0A 

Update SeConfidentiality.java