nl.vpro.domain.media.support.Ownable Maven / Gradle / Ivy
/*
* Copyright (C) 2011 Licensed under the Apache License, Version 2.0
* VPRO The Netherlands
*/
package nl.vpro.domain.media.support;
import org.checkerframework.checker.nullness.qual.NonNull;
/**
* Ownable objects are owned by a certain {@link OwnerType}. This indicates something about the authority of the value, and normally the same field value exist for different 'owner types'. E.g. a main title may be owned by 'MIS', but may have a another value but than owned by 'BROADCASTER'. Both values remain available, but in principle the BROADCASTER value overwrites the MIS value (but one may interpret differently).
*
* @see OwnerType
*/
public interface Ownable {
@NonNull
OwnerType getOwner();
}