nl.vpro.domain.BasicOwnedText Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of media-domain Show documentation
Show all versions of media-domain Show documentation
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.
package nl.vpro.domain;
import lombok.Getter;
import lombok.Setter;
import java.io.Serial;
import nl.vpro.domain.media.support.OwnerType;
import nl.vpro.domain.media.support.TextualType;
/**
* {@inheritDoc}
* @author Michiel Meeuwissen
* @since 5.3
*/
public class BasicOwnedText extends BasicTypedText implements OwnedText {
@Serial
private static final long serialVersionUID = -6428591725078554520L;
@Getter
@Setter
private OwnerType owner;
public BasicOwnedText() {
}
public BasicOwnedText(String text, OwnerType owner, TextualType type) {
super(text, type);
this.owner = owner;
}
}