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;

public class SeEllipsoidParameters extends JSONEntity implements Serializable {

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private Double semiMajorAxis;

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

    @JsonProperty
    @Label(en="")
    @Description(en= "")
    private Double denominatorOfFlatteringRatio;


    public Double getSemiMajorAxis() {
        return semiMajorAxis;
    }

    public void setSemiMajorAxis(Double semiMajorAxis) {
        this.semiMajorAxis = semiMajorAxis;
    }

    public OjMeasure getAxisUnits() {
        return axisUnits;
    }
    @Embedded
    public void setAxisUnits(OjMeasure axisUnits) {
        this.axisUnits = axisUnits;
    }

    public Double getDenominatorOfFlatteringRatio() {
        return denominatorOfFlatteringRatio;
    }

    public void setDenominatorOfFlatteringRatio(Double denominatorOfFlatteringRatio) {
        this.denominatorOfFlatteringRatio = denominatorOfFlatteringRatio;
    }
}

@@ -415,32 +415,47 @@
 %0A    @Label(en=%22
+Semi major axis
 %22)%0A    @Descript
@@ -455,32 +455,80 @@
 escription(en= %22
+Measure of the equatorial axis of the ellipsoid.
 %22)%0A    private D
@@ -586,128 +586,421 @@
 en=%22
-%22)%0A    @Description(en= %22%22)%0A    private OjMeasure axisUnits;%0A%0A    @JsonProperty%0A    @Label(en=%22%22)%0A    @Description(en= %22
+Semi-major axis unit of measure%22)%0A    @Description(en= %22Units of the semi-major axis.%22)%0A    private OjMeasure axisUnits;%0A%0A    @JsonProperty%0A    @Label(en=%22Deniminator of flattening rate%22)%0A    @Description(en= %22Ratio between the semi-major axis and the semi-minor axis of an ellipse. Generally an ellipse is completely specified by the measure of the semi-major axis 'a' and the measure of the semi-minor axis 'b'.
 %22)%0A 

Update SeEllipsoidParameters.java