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

nl.vpro.domain.api.media.GeoLocationFacetResultItem Maven / Gradle / Ivy

Go to download

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

The newest version!
package nl.vpro.domain.api.media;

import java.util.List;

import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;

import com.fasterxml.jackson.annotation.JsonProperty;

import nl.vpro.domain.api.TermFacetResultItem;
import nl.vpro.domain.classification.bind.TermWrapper;


/**
 * @author Michiel Meeuwissen
 * @since 3.4
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "mediaGeoLocationFacetResultItemType")
public class GeoLocationFacetResultItem extends TermFacetResultItem {


    @XmlElement(name = "term")
    @JsonProperty("terms")
    private List terms;

    public GeoLocationFacetResultItem() {
    }

    public GeoLocationFacetResultItem(List terms, String value, String id, long count) {
        super(value, id, count);
        this.terms = terms;
    }

    public List getTerms() {
        return terms;
    }

    public void setTerms(List terms) {
        this.terms = terms;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy