package com.safemobile.lib.radio; public class ZoneChannel { private Zone zone; private Channel channel; private boolean isSection = false; public ZoneChannel(Zone zone) { setZone(zone); setSection(true); } public ZoneChannel(Zone zone, Channel channel) { setZone(zone); setChannel(channel); if(channel != null) setSection(false); else setSection(true); } public Zone getZone() { return zone; } public void setZone(Zone zone) { this.zone = zone; } public Channel getChannel() { return channel; } public void setChannel(Channel channel) { this.channel = channel; } public boolean isSection() { return isSection; } public void setSection(boolean isSection) { this.isSection = isSection; } }