nl.vpro.domain.subtitles.SubtitlesMetadataImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of subtitles-domain Show documentation
Show all versions of subtitles-domain Show documentation
Subtitles are related to media, but are implemented completely parallel. Classes to contain, parse, and assemble subtitle objects are here.
package nl.vpro.domain.subtitles;
import lombok.AllArgsConstructor;
import lombok.Data;
import java.time.Duration;
import nl.vpro.domain.media.support.OwnerType;
/**
* A cheaper view on {@link Subtitles}, most fields, but most importantly not {@link Subtitles#getContent()}
*
* @author Michiel Meeuwissen
* @since 5.12
*/
@Data
@AllArgsConstructor
@lombok.Builder
public class SubtitlesMetadataImpl implements SubtitlesMetadata {
private SubtitlesId id;
private OwnerType owner;
private Duration offset;
private Integer cueCount;
private SubtitlesWorkflow workflow;
}