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.Collection;

public class MeResourceStructure extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="Resource Structure")
    @Description(en= "Information on the type and content of the dimensions of the dataset.")
    private Collection<SeResourceDimensions> seResourceDimensions;

    @JsonProperty
    @Label(en="Resource record")
    @Description(en= "Information at a sigle recod level.")
    private Collection<SeResourceRecords> seResourceRecords;


    public Collection<SeResourceDimensions> getSeResourceDimensions() {
        return seResourceDimensions;
    }
    @Embedded
    public void setSeResourceDimensions(Collection<SeResourceDimensions> seResourceDimensions) {
        this.seResourceDimensions = seResourceDimensions;
    }

    public Collection<SeResourceRecords> getSeResourceRecords() {
        return seResourceRecords;
    }
    @Embedded
    public void setSeResourceRecords(Collection<SeResourceRecords> seResourceRecords) {
        this.seResourceRecords = seResourceRecords;
    }
}

@@ -459,25 +459,26 @@
 esource 
-Structure
+Dimentions
 %22)%0A    @
@@ -680,14 +680,15 @@
 rce 
-r
+R
 ecord
+s
 %22)%0A 

Update MeResourceStructure.java