package com.clackathon.vuzii;

import lombok.Data;
import lombok.SneakyThrows;

import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.net.URL;
import java.util.Date;
import java.util.List;

/**
 *
 *
 * @author Cameron
 */
@Data
public class Image {
	long mediaID;
	List<String> tags;
	List<User> likers;
	List<String> comments;
	ImageData standard;
	User uploader;
	Date creationTime;
	String location;


    @Data
    public static class ImageData {
		URL imageLocation;
		int width;
        int height;

		@SneakyThrows
		public BufferedImage download() {
			return ImageIO.read(imageLocation);
		}
    }
}

@@ -269,16 +269,24 @@
 mage %7B%0A%09
+private 
 long med
@@ -292,16 +292,24 @@
 diaID;%0A%09
+private 
 List%3CStr
@@ -316,24 +316,32 @@
 ing%3E tags;%0A%09
+private 
 List%3CUser%3E l
@@ -348,16 +348,24 @@
 ikers;%0A%09
+private 
 List%3CStr
@@ -380,16 +380,24 @@
 ments;%0A%09
+private 
 ImageDat
@@ -409,16 +409,24 @@
 ndard;%0A%09
+private 
 User upl
@@ -433,16 +433,24 @@
 oader;%0A%09
+private 
 Date cre
@@ -461,16 +461,24 @@
 nTime;%0A%09
+private 
 String l
@@ -487,17 +487,16 @@
 ation;%0A%0A
-%0A
     @Dat
@@ -535,16 +535,24 @@
 ata %7B%0A%09%09
+private 
 URL imag
@@ -564,16 +564,24 @@
 tion;%0A%09%09
+private 
 int widt
@@ -591,16 +591,24 @@
         
+private 
 int heig

Make fields in Image private