ParentList.java
1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package com.upc.pbe.upcnews;
import java.util.ArrayList;
public class ParentList
{
private String ID;
private int currentQuality;
private String Type, Name;
private boolean Default; //Estos 3 últimos son para los ext-x-media, los ext-x-stream lo IGNORAN
private ArrayList<List> lists; //per cada qualitat
public ParentList(String ID)
{
this.ID = ID;
currentQuality = 0;
Type = "";
Name = "";
Default = false;
lists = new ArrayList<List>(); //Lista de CALIDADES
}
public String getID()
{
return ID;
}
public void setID(String id)
{
ID = id;
}
public int getCurrentQuality()
{
return currentQuality;
}
public void setCurrentQuality(int q)
{
currentQuality = q;
}
public boolean getDefault()
{
return Default;
}
public void setDefault(boolean d)
{
Default = d;
}
public String getType()
{
return Type;
}
public void setType(String t)
{
Type = t;
}
public String getName()
{
return Name;
}
public void setName(String n)
{
Name = n;
}
public ArrayList<List> getLists()
{
return lists;
}
}