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

//import org.codehaus.jackson.annotate.JsonProperty;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.fao.fenix.commons.annotations.Description;
import org.fao.fenix.commons.annotations.Format;
import org.fao.fenix.commons.annotations.Label;
import org.fao.fenix.commons.annotations.Order;
import org.fao.fenix.commons.msd.dto.JSONEntity;

import java.io.Serializable;
import java.util.Map;

public class SeDataRevision extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Revision policy")
    @Description(en= "Policy concerning the periodically revision of the resource and ensuring the transparency of disseminated data.")
    @Order(-1)
    @Format(Format.FORMAT.string)
    private Map<String, String> revisionPolicy;

    @JsonProperty
    @Label(en="Revision practice")
    @Description(en= "Information concerning the revision of data in order to give compilers the possibility of incorporating new and more accurate information in the resource. It also describes the revision status of available data. Data may also be subject to regular or ad hoc revisions as a result of the introduction of new classification, compilation frameworks and methodologies in order to improve the accuracy of the resource.")
    @Order(-1)
    @Format(Format.FORMAT.string)
    private Map<String, String> revisionPractice;


    public Map<String, String> getRevisionPolicy() {
        return revisionPolicy;
    }

    public void setRevisionPolicy(Map<String, String> revisionPolicy) {
        this.revisionPolicy = revisionPolicy;
    }

    public Map<String, String> getRevisionPractice() {
        return revisionPractice;
    }

    public void setRevisionPractice(Map<String, String> revisionPractice) {
        this.revisionPractice = revisionPractice;
    }
}

@@ -710,33 +710,32 @@
 a.%22)%0A    @Order(
--
 1)%0A    @Format(F
@@ -739,38 +739,40 @@
 t(Format.FORMAT.
-string
+textarea
 )%0A    private Ma
@@ -1312,10 +1312,9 @@
 der(
--1
+2
 )%0A  
@@ -1341,14 +1341,16 @@
 MAT.
-string
+textarea
 )%0A  

Update SeDataRevision.java