package au.gov.ga.geodesy.domain.model.sitelog;

import javax.persistence.Column;
import javax.persistence.Embeddable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.vividsolutions.jts.geom.Point;

/**
 * http://sopac.ucsd.edu/ns/geodesy/doc/igsSiteLog/monumentInfo/2004/siteLocation.xsd:siteLocationType.approximatePositionITRF
 */
@Embeddable
public class ApproximatePosition {

	/**
	 * Position in EPSG:7789 reference system - x,y,z
	 */
    @JsonIgnore
    @Column(name = "CARTESIAN_POSITION", columnDefinition = "geometry")
    private Point cartesianPosition;

	/**
	 * Position in EPSG:7912 reference system - lat, long, elevation 
	 */
    @JsonIgnore
    @Column(name = "GEODETIC_POSITION", columnDefinition = "geometry")
    private Point geodeticPosition;

	public Point getCartesianPosition() {
		return cartesianPosition;
	}

	public void setCartesianPosition(Point cartesianPosition) {
		this.cartesianPosition = cartesianPosition;
	}

	public Point getGeodeticPosition() {
		return geodeticPosition;
	}

	public void setGeodeticPosition(Point geodeticPosition) {
		this.geodeticPosition = geodeticPosition;
	}
}

@@ -391,22 +391,28 @@
 tion %7B%0A%0A
-%09/**%0A%09
+    /**%0A    
  * Posit
@@ -453,17 +453,20 @@
 - x,y,z%0A
-%09
+    
  */%0A    
@@ -591,14 +591,20 @@
 n;%0A%0A
-%09/**%0A%09
+    /**%0A    
  * P
@@ -665,17 +665,19 @@
 vation %0A
-%09
+   
  */%0A    

Remove tabs