Пример #1
0
 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;
 }
Пример #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;
 }