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

nl.vpro.domain.api.GenericScheduleSearchResult Maven / Gradle / Ivy

Go to download

Contains the objects used by the Frontend API, like forms and result objects

There is a newer version: 8.3.3
Show newest version
package nl.vpro.domain.api;

import java.util.List;

import javax.xml.bind.annotation.*;

import nl.vpro.domain.api.media.MediaFacetsResult;

/**
 * @author Michiel Meeuwissen
 * @since 2.0
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "genericScheduleSearchResultType", propOrder = {"facets"})
public class GenericScheduleSearchResult extends SearchResult {

    @XmlElement
    private MediaFacetsResult facets;

    public GenericScheduleSearchResult() {
    }

    public GenericScheduleSearchResult(List> list, Long offset, Integer max, Total total) {
        super(list, offset, max, total);
    }

    protected GenericScheduleSearchResult(SearchResult sr) {
        super(sr);
    }

    public GenericScheduleSearchResult(List> list, MediaFacetsResult facets, Long offset, Integer max, Total total) {
        super(list, offset, max, total);
        this.facets = facets;
    }

    public MediaFacetsResult getFacets() {
        return facets;
    }

    public void setFacets(MediaFacetsResult facets) {
        this.facets = facets;
    }
}