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

nl.vpro.domain.api.TermFacetResultItem 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
/*
 * Copyright (C) 2012 All rights reserved
 * VPRO The Netherlands
 */
package nl.vpro.domain.api;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;

/**
 * @author rico
 * @author Michiel Meeuwissen
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "termFacetResultItemType")
@Getter
@Setter
public class TermFacetResultItem extends FacetResultItem {

    private String id;

    private String value;

    public TermFacetResultItem() {
    }

    @lombok.Builder
    public TermFacetResultItem(String value, String id, long count) {
        super(count);
        this.id = id;
        this.value = value;
    }



    @Override
    public String toString() {
        return id + ":" + count;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy