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

nl.vpro.domain.media.update.CreditsUpdate 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.media.update;

import lombok.Getter;
import lombok.ToString;

import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import jakarta.xml.bind.annotation.XmlAttribute;

import nl.vpro.domain.media.*;

/**
 * @see nl.vpro.domain.media.update
 * @see Credits
 */
@ToString(of = { "role" })
public abstract class CreditsUpdate {

    @XmlAttribute(required = true)
    @Enumerated(EnumType.STRING)
    @Getter
    protected RoleType role;

    public CreditsUpdate(RoleType role) {
        this.role = role;
    }

    protected CreditsUpdate() {
        // needed for jaxb
    }

    public abstract Credits toCredits();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy