Class ScoredRelationImpl
java.lang.Object
org.aksw.gerbil.transfer.nif.data.AbstractMarkingImpl
org.aksw.gerbil.transfer.nif.data.RelationImpl
org.aksw.gerbil.transfer.nif.data.ScoredRelationImpl
- All Implemented Interfaces:
Cloneable,Marking,Relation,ScoredMarking
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScoredRelationImpl(ScoredRelationImpl relation)ScoredRelationImpl(Meaning subject, Meaning predicate, Meaning object, double confidence)ScoredRelationImpl(Relation relation, double confidence) -
Method Summary
Modifier and TypeMethodDescriptionclone()booleandoubleinthashCode()voidsetConfidence(double confidence)toString()Methods inherited from class org.aksw.gerbil.transfer.nif.data.RelationImpl
getObject, getPredicate, getRelation, getSubject, setRelationMethods 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
protected double confidence
-
-
Constructor Details
-
ScoredRelationImpl
- Throws:
CloneNotSupportedException
-
ScoredRelationImpl
- Throws:
CloneNotSupportedException
-
ScoredRelationImpl
-
-
Method Details
-
getConfidence
public double getConfidence()- Specified by:
getConfidencein interfaceScoredMarking
-
setConfidence
public void setConfidence(double confidence)- Specified by:
setConfidencein interfaceScoredMarking
-
clone
- Specified by:
clonein interfaceMarking- Overrides:
clonein classRelationImpl- Throws:
CloneNotSupportedException
-
hashCode
public int hashCode() -
equals
- Overrides:
equalsin classRelationImpl
-
toString
- Specified by:
toStringin interfaceMarking- Overrides:
toStringin classRelationImpl
-