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 org.fao.fenix.commons.msd.dto.type.GeometricObjects;

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

public class SeVectorSpatialRepresentation extends JSONEntity implements Serializable {

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

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private GeometricObjects geometricObjects;


    public OjCodeList getTopologyLevel() {
        return topologyLevel;
    }
    @Embedded
    public void setTopologyLevel(OjCodeList topologyLevel) {
        this.topologyLevel = topologyLevel;
    }

    public GeometricObjects getGeometricObjects() {
        return geometricObjects;
    }

    public void setGeometricObjects(GeometricObjects geometricObjects) {
        this.geometricObjects = geometricObjects;
    }
}

@@ -495,33 +495,162 @@
 en=%22
-%22)%0A    @Description(en= %22
+Degree of complexity of the spatial relationships%22)%0A    @Description(en= %22Degree of complexity of the spatial relationships expressed through a code list.
 %22)%0A 
@@ -720,16 +720,32 @@
 bel(en=%22
+Geometric object
 %22)%0A    @
@@ -761,16 +761,145 @@
 on(en= %22
+Information about the geometric objects used in the dataset (e.g. point, line, polygon, etc.) expressed through a multipleChoice.
 %22)%0A    p

Update SeVectorSpatialRepresentation.java