ParentList.java 1.06 KB
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;
	}


}