org.apache.stanbol.contenthub.web.resources
Class ContentItemResource.EntitySuggestion

java.lang.Object
  extended by org.apache.stanbol.contenthub.web.resources.ContentItemResource.EntitySuggestion
All Implemented Interfaces:
Comparable<ContentItemResource.EntitySuggestion>
Enclosing class:
ContentItemResource

public static class ContentItemResource.EntitySuggestion
extends Object
implements Comparable<ContentItemResource.EntitySuggestion>


Field Summary
protected  Double confidence
           
protected  Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails
           
protected  org.apache.clerezza.rdf.core.TripleCollection entityProperties
           
protected  String label
           
protected  org.apache.clerezza.rdf.core.UriRef type
           
protected  org.apache.clerezza.rdf.core.UriRef uri
           
 
Constructor Summary
ContentItemResource.EntitySuggestion(org.apache.clerezza.rdf.core.UriRef uri, org.apache.clerezza.rdf.core.UriRef type, String label, Double confidence, org.apache.clerezza.rdf.core.TripleCollection entityProperties, Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails)
           
 
Method Summary
 int compareTo(ContentItemResource.EntitySuggestion o)
           
 boolean equals(Object obj)
           
 Double getConfidence()
           
 String getLabel()
           
 String getMissingThumbnailSrc()
           
 String getSummary()
           
 String getThumbnailSrc()
           
 String getUri()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

protected final org.apache.clerezza.rdf.core.UriRef uri

type

protected final org.apache.clerezza.rdf.core.UriRef type

label

protected final String label

confidence

protected final Double confidence

entityProperties

protected org.apache.clerezza.rdf.core.TripleCollection entityProperties

defaultThumbnails

protected final Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails
Constructor Detail

ContentItemResource.EntitySuggestion

public ContentItemResource.EntitySuggestion(org.apache.clerezza.rdf.core.UriRef uri,
                                            org.apache.clerezza.rdf.core.UriRef type,
                                            String label,
                                            Double confidence,
                                            org.apache.clerezza.rdf.core.TripleCollection entityProperties,
                                            Map<org.apache.clerezza.rdf.core.UriRef,String> defaultThumbnails)
Method Detail

compareTo

public int compareTo(ContentItemResource.EntitySuggestion o)
Specified by:
compareTo in interface Comparable<ContentItemResource.EntitySuggestion>

getUri

public String getUri()

getConfidence

public Double getConfidence()

getLabel

public String getLabel()

getThumbnailSrc

public String getThumbnailSrc()

getMissingThumbnailSrc

public String getMissingThumbnailSrc()

getSummary

public String getSummary()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.