protected Specialization specialization(ProgData progData, Channel channel) {
   if (MediaType.AUDIO.equals(channel.getMediaType())) {
     return Specialization.RADIO;
   }
   return Strings.isNullOrEmpty(progData.getRtFilmnumber())
       ? Specialization.TV
       : Specialization.FILM;
 }
Beispiel #2
0
 protected Specialization specialization(ProgData progData, Channel channel) {
   if (MediaType.AUDIO.equals(channel.getMediaType())) {
     return Specialization.RADIO;
   }
   return getBooleanValue(progData.getAttr().getFilm()) ? Specialization.FILM : Specialization.TV;
 }