44 lines
820 B
Java
44 lines
820 B
Java
public class Foto {
|
|
private String name;
|
|
private int ref1;
|
|
private int ref2;
|
|
private int height;
|
|
private int width;
|
|
private String fileformat;
|
|
|
|
public Foto(String name, int ref1, int ref2, int height, int width, String fileformat) {
|
|
this.name = name;
|
|
this.ref1 = ref1;
|
|
this.ref2 = ref2;
|
|
this.height = height;
|
|
this.width = width;
|
|
this.fileformat = fileformat;
|
|
}
|
|
|
|
public Foto() { }
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public int getRef1() {
|
|
return ref1;
|
|
}
|
|
|
|
public int getRef2() {
|
|
return ref2;
|
|
}
|
|
|
|
public int getHeight() {
|
|
return height;
|
|
}
|
|
|
|
public int getWidth() {
|
|
return width;
|
|
}
|
|
|
|
public String getFileformat() {
|
|
return fileformat;
|
|
}
|
|
}
|