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

nl.vpro.domain.i18n.TitleTranslation 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.domain.i18n;

import lombok.Getter;
import lombok.Setter;

import java.io.Serial;

import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;
import jakarta.validation.constraints.NotNull;

import nl.vpro.domain.AbstractTitleEntity;
import nl.vpro.domain.media.support.OwnerType;
import nl.vpro.domain.media.support.TextualType;

/**
 * @author Michiel Meeuwissen
 * @since 5.1
 */
@Setter
@Getter
@Entity
// it's in super
public class TitleTranslation extends AbstractTitleEntity {

    @Serial
    private static final long serialVersionUID = -4636628305739242913L;

    @ManyToOne
    @NotNull
    MediaObjectTranslation parent;

    public TitleTranslation(MediaObjectTranslation parent, @NotNull String title, OwnerType owner, TextualType type) {
        super(title, owner, type);
        this.parent = parent;
    }

    public TitleTranslation() {
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy