All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.nicam.NicamRated Maven / Gradle / Ivy

Go to download

The basic domain classes for 'media', the core of POMS. Also, the 'update' XML bindings for it. It also contains some closely related domain classes like the enum to contain NICAM kijkwijzer settings.

There is a newer version: 8.3.1
Show newest version
package nl.vpro.nicam;

import java.util.List;

import nl.vpro.domain.media.AgeRating;
import nl.vpro.domain.media.ContentRating;

/**
 * See NICAM
 * @author Michiel Meeuwissen
 * @since 4.3
 */
public interface NicamRated {

    AgeRating getAgeRating();
    List getContentRatings();

    default boolean isNicamRated() {
        List cr = getContentRatings();
        return getAgeRating() != null || (cr != null && !cr.isEmpty());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy