package gr.iti.mklab.data;

public class ImageMetadata{

	private int area_id;
	private double[] coord;
	private String image_id, user_id, tags;

	public ImageMetadata (String id, String user_id, String tags) {
		this.image_id = id;
		this.user_id = user_id;
		this.tags = tags;
	}

	public String getId () {
		return image_id;
	}

	public String getUserId () {
		return user_id;
	}

	public String getTags () {
		return tags;
	}

	public void setCoord (double lat, double lng){
		coord = new double [2]; 
		coord[0] = lat;
		coord[1] = lng;
	}

	public double [] getCoord () {
		return coord;
	}

	public void setArea (int area_id){
		this.area_id = area_id;
	}

	public int getArea () {
		return area_id;
	}

}
@@ -21,16 +21,99 @@
 .data;%0A%0A
+/**%0A * The class that contains the metadata of an image.%0A * @author gkordo%0A * %0A */%0A
 public c
@@ -222,16 +222,141 @@
  tags;%0A%0A
+%09%0A%09/**%0A%09 * Constructor using the metadata provided by the dataset file%0A%09 * @param id%0A%09 * @param user_id%0A%09 * @param tags%0A%09 */%0A
 %09public 

Add comments to ImageMetadata.java