/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.etsi.saref.server.entities;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author maxime.lefrancois
 */
@XmlRootElement
public class SearchResult {
	public SearchResult() {
		// TODO Auto-generated constructor stub
	}
    
	@XmlAttribute
    public String search;

	@XmlAttribute
	public int count;
	
	@XmlAttribute
    public int offset;

	@XmlAttribute
    public List<SearchResultSummary> results;

	@XmlRootElement
    public static class SearchResultSummary {
        public Float score;
        public String uri;
        public String label;
        public String comment;
        public String graph;
    }
    
}
