Back to project page favouritetv.
The source code is released under:
Copyright (c) 2011 Andr? Prata<andreprata@ua.pt> Eriksson Monteiro<eriksson.monteiro@ua.pt> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
If you think the Android project favouritetv listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package pt.ua.code.ws; // w w w . jav a 2 s. c o m import java.io.Serializable; public class Channel implements Serializable { /** * */ private static final long serialVersionUID = -1736714874874603721L; private String name; private String sigla; private boolean isFavourite=false; public Channel(String name, String sigla) { // TODO Auto-generated constructor stub this.name=name; this.sigla=sigla; } public Channel(String name, String sigla, boolean favourite) { // TODO Auto-generated constructor stub this.name=name; this.sigla=sigla; this.isFavourite = favourite; } public Channel() { // TODO Auto-generated constructor stub } public void setName(String name) { this.name = name; } public void setSigla(String sigla) { this.sigla = sigla; } public String getSigla() { return sigla; } public String getName() { return name; } public boolean isFavourite() { return isFavourite; } public void setFavourite(boolean isFavourite) { this.isFavourite = isFavourite; } }