nl.vpro.domain.api.TermFacetResultItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
/*
* 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