

package org.kalnee.trivor.nlp.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public class Subtitle {

    private Integer duration;
    private List<Sentence> sentences;
    private Map<SentimentEnum, BigDecimal> sentiment;

    public Subtitle() {
    }

    public Subtitle(List<Sentence> sentences) {
        this.sentences = sentences;
    }

    public Subtitle(List<Sentence> sentences, Integer duration) {
        this(sentences);
        this.duration = duration;
    }

    public Subtitle(List<Sentence> sentences, Map<SentimentEnum, BigDecimal> sentiment) {
        this(sentences);
        this.sentiment = sentiment;
    }

    public Subtitle(List<Sentence> sentences, Integer duration, Map<SentimentEnum, BigDecimal> sentiment) {
        this(sentences, duration);
        this.sentiment = sentiment;
    }

    public Integer getDuration() {
        return duration;
    }

    public List<Sentence> getSentences() {
        return sentences;
    }

    public void setSentences(List<Sentence> sentences) {
        this.sentences = sentences;
    }

    public Map<SentimentEnum, BigDecimal> getSentiment() {
        return sentiment;
    }
}
