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 MeMaintenance extends JSONEntity implements Serializable {

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

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private SeUpdate seUpdate;

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private SeMetadataMaintenance seMetadataMaintenance;


    public Map<String, String> getMaintenanceAgency() {
        return maintenanceAgency;
    }

    public void setMaintenanceAgency(Map<String, String> maintenanceAgency) {
        this.maintenanceAgency = maintenanceAgency;
    }

    public SeUpdate getSeUpdate() {
        return seUpdate;
    }
    @Embedded
    public void setSeUpdate(SeUpdate seUpdate) {
        this.seUpdate = seUpdate;
    }

    public SeMetadataMaintenance getSeMetadataMaintenance() {
        return seMetadataMaintenance;
    }
    @Embedded
    public void setSeMetadataMaintenance(SeMetadataMaintenance seMetadataMaintenance) {
        this.seMetadataMaintenance = seMetadataMaintenance;
    }
}

@@ -429,32 +429,50 @@
 %0A    @Label(en=%22
+Maintenance agency
 %22)%0A    @Descript
@@ -472,32 +472,94 @@
 escription(en= %22
+Organization or other expert body that maintains the resource.
 %22)%0A    private M
@@ -622,32 +622,38 @@
 %0A    @Label(en=%22
+Update
 %22)%0A    @Descript
@@ -653,32 +653,124 @@
 escription(en= %22
+This section involves maintenance operations concerning the periodic update of the resource.
 %22)%0A    private S
@@ -821,16 +821,27 @@
 bel(en=%22
+MAINTENANCE
 %22)%0A    @
@@ -857,16 +857,154 @@
 on(en= %22
+This section involves maintenance operations concerning the periodic update of metadata to ensure that the resource is properly described.
 %22)%0A    p

Update MeMaintenance.java