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.Format;
import org.fao.fenix.commons.annotations.Label;
import org.fao.fenix.commons.annotations.Order;
import org.fao.fenix.commons.msd.dto.JSONEntity;

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

public class SeDataDissemination extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Distribution")
    @Description(en= "This section reports the mode of distribution of the resource with a focus on how to access the resource, the supported formats.")
    @Order(1)
    @Format(Format.FORMAT.string)
    private SeDistribution seDistribution;

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    @Order(2)
    @Format(Format.FORMAT.string)
    private SeReleasePolicy seReleasePolicy;


    public SeReleasePolicy getSeReleasePolicy() {
        return seReleasePolicy;
    }
    @Embedded
    public void setSeReleasePolicy(SeReleasePolicy seReleasePolicy) {
        this.seReleasePolicy = seReleasePolicy;
    }

    public SeDistribution getSeDistribution() {
        return seDistribution;
    }
    @Embedded
    public void setSeDistribution(SeDistribution seDistribution) {
        this.seDistribution = seDistribution;
    }
}

@@ -531,16 +531,52 @@
 ibution%22
+,fr=%22Distribution%22,es=%22Distribuci%C3%B3n%22
 )%0A    @D
@@ -847,16 +847,89 @@
 bel(en=%22
+Release Policy%22,fr=%22Politique de publication%22,es=%22Pol%C3%ADtica de lanzamiento
 %22)%0A    @

Update SeDataDissemination.java