1 package org.columba.core.search; 19 20 import java.net.URI ; 21 22 import org.columba.core.search.api.ISearchResult; 23 24 public class SearchResult implements ISearchResult { 25 26 private String title; 27 28 private String description; 29 30 private URI location; 31 32 public SearchResult(String title, String description, URI location) { 33 this.title = title; 34 this.description = description; 35 this.location = location; 36 } 37 38 41 public String getTitle() { 42 return title; 43 } 44 45 48 public String getDescription() { 49 return description; 50 } 51 52 55 public URI getLocation() { 56 return location; 57 } 58 } 59 | Popular Tags |