List.java 839 Bytes
package com.upc.pbe.upcnews;

import java.util.ArrayList;

public class List
{
	private boolean validated;
	private int quality;
	private int sequenceFirst;
	private int maxDuration;
	private ArrayList<Segment> segments; //Lista de SEGMENTOS

	public List(int q)
	{
		quality = q;
		validated = false;
		segments = new ArrayList<Segment>();
	}
	
	public void setValidated(boolean val)
	{
		validated = val;
	}
	
	public boolean getValidated()
	{
		return validated;
	}
	
	public void setSequence(int seq)
	{
		sequenceFirst = seq;
	}
	
	public int getSequence()
	{
		return sequenceFirst;
	}
	
	public void setMaxDuration(int dur)
	{
		maxDuration = dur;
	}
	
	public int getMaxDuration()
	{
		return maxDuration;
	}
	
	public int getQuality()
	{
		return quality;
	}
	
	public ArrayList<Segment> getSegments()
	{
		return segments;
	}
}