Class ScoredAnnotation
java.lang.Object
org.aksw.gerbil.transfer.nif.data.AbstractMarkingImpl
org.aksw.gerbil.transfer.nif.data.Annotation
org.aksw.gerbil.transfer.nif.data.ScoredAnnotation
- All Implemented Interfaces:
Cloneable,Marking,Meaning,ScoredMarking
A scored tag is a
Annotation with a confidence score.- Author:
- Michael Röder
-
Field Summary
FieldsFields inherited from class org.aksw.gerbil.transfer.nif.data.Annotation
uri, uris -
Constructor Summary
ConstructorsConstructorDescriptionScoredAnnotation(String uri, double confidence) ScoredAnnotation(Set<String> uris, double confidence) ScoredAnnotation(ScoredAnnotation scoredAnnotation) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleandoubleinthashCode()voidsetConfidence(double confidence) toString()Methods inherited from class org.aksw.gerbil.transfer.nif.data.Annotation
addUri, containsUri, getUri, getUris, setUri, setUrisMethods inherited from class org.aksw.gerbil.transfer.nif.data.AbstractMarkingImpl
getProvenanceInfo, setProvenanceInfoMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.aksw.gerbil.transfer.nif.Marking
getProvenanceInfo, setProvenanceInfo
-
Field Details
-
confidence
private double confidence
-
-
Constructor Details
-
ScoredAnnotation
-
ScoredAnnotation
-
ScoredAnnotation
-
-
Method Details
-
getConfidence
public double getConfidence()- Specified by:
getConfidencein interfaceScoredMarking
-
setConfidence
public void setConfidence(double confidence) - Specified by:
setConfidencein interfaceScoredMarking
-
hashCode
public int hashCode()- Overrides:
hashCodein classAnnotation
-
equals
- Overrides:
equalsin classAnnotation
-
toString
- Specified by:
toStringin interfaceMarking- Overrides:
toStringin classAnnotation
-
clone
- Specified by:
clonein interfaceMarking- Overrides:
clonein classAnnotation- Throws:
CloneNotSupportedException
-