org.apache.stanbol.contenthub.web.resources
Class ContentItemResource.EntityExtractionSummary
java.lang.Object
org.apache.stanbol.contenthub.web.resources.ContentItemResource.EntityExtractionSummary
- All Implemented Interfaces:
- Comparable<ContentItemResource.EntityExtractionSummary>
- Enclosing class:
- ContentItemResource
public static class ContentItemResource.EntityExtractionSummary
- extends Object
- implements Comparable<ContentItemResource.EntityExtractionSummary>
name
protected final String name
type
protected final org.apache.clerezza.rdf.core.UriRef type
suggestions
protected List<ContentItemResource.EntitySuggestion> suggestions
mentions
protected List<String> mentions
defaultThumbnails
public final Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails
ContentItemResource.EntityExtractionSummary
public ContentItemResource.EntityExtractionSummary(String name,
org.apache.clerezza.rdf.core.UriRef type,
Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails)
addSuggestion
public void addSuggestion(org.apache.clerezza.rdf.core.UriRef uri,
String label,
Double confidence,
org.apache.clerezza.rdf.core.TripleCollection properties)
getName
public String getName()
getUri
public String getUri()
getSummary
public String getSummary()
getThumbnailSrc
public String getThumbnailSrc()
getMissingThumbnailSrc
public String getMissingThumbnailSrc()
getBestGuess
public ContentItemResource.EntitySuggestion getBestGuess()
getSuggestions
public List<ContentItemResource.EntitySuggestion> getSuggestions()
getMentions
public List<String> getMentions()
compareTo
public int compareTo(ContentItemResource.EntityExtractionSummary o)
- Specified by:
compareTo in interface Comparable<ContentItemResource.EntityExtractionSummary>
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.