Added Java files
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
|||||||
|
import javax.swing.ImageIcon;
|
||||||
|
|
||||||
|
|
||||||
|
public class Artist
|
||||||
|
{
|
||||||
|
private String genre;
|
||||||
|
private String name;
|
||||||
|
private String description;
|
||||||
|
private ImageIcon image;
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
public Artist()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
|
||||||
|
public class Data
|
||||||
|
{
|
||||||
|
private ArrayList<Stage> stages;
|
||||||
|
private ArrayList<Event> events;
|
||||||
|
private ArrayList<Artist> artists;
|
||||||
|
|
||||||
|
public Data()
|
||||||
|
{
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
public class Event
|
||||||
|
{
|
||||||
|
private int startTime;
|
||||||
|
private int endTime;
|
||||||
|
private Artist artist;
|
||||||
|
private String description;
|
||||||
|
private int id;
|
||||||
|
|
||||||
|
public Event()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
+14
@@ -0,0 +1,14 @@
|
|||||||
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
|
||||||
|
public class Stage
|
||||||
|
{
|
||||||
|
private ArrayList<Event> performances;
|
||||||
|
private int expectedPopularity;
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
public Stage()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user