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

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

public class OjAxis extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="")
    @Description(en="")
    private AxisType axisName;

    @JsonProperty
    @Label(en="")
    @Description(en="")
    private Integer axisSize;

    @JsonProperty
    @Label(en="")
    @Description(en="")
    private OjMeasure resolution;


    public AxisType getAxisName() {
        return axisName;
    }

    public void setAxisName(AxisType axisName) {
        this.axisName = axisName;
    }

    public Integer getAxisSize() {
        return axisSize;
    }

    public void setAxisSize(Integer axisSize) {
        this.axisSize = axisSize;
    }

    public OjMeasure getResolution() {
        return resolution;
    }
    @Embedded
    public void setResolution(OjMeasure resolution) {
        this.resolution = resolution;
    }
}

@@ -452,32 +452,44 @@
 %0A    @Label(en=%22
+Name of axis
 %22)%0A    @Descript
@@ -488,32 +488,49 @@
 Description(en=%22
+Name of the axis.
 %22)%0A    private A
@@ -573,32 +573,41 @@
 %0A    @Label(en=%22
+Axis size
 %22)%0A    @Descript
@@ -606,32 +606,66 @@
 Description(en=%22
+Number of elements along the axis.
 %22)%0A    private I
@@ -711,24 +711,34 @@
  @Label(en=%22
+Resolution
 %22)%0A    @Desc
@@ -749,16 +749,53 @@
 ion(en=%22
+Degree of detail in the grid dataset.
 %22)%0A    p

Update OjAxis.java