Package org.aksw.gerbil.transfer.nif
Interface Relation
- All Known Implementing Classes:
RelationImpl,ScoredRelationImpl
Implements a Relation Object
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanReturnstrueif the givenRelationinstances have equal subjects, predicates and objects.voidsetRelation(Meaning subject, Meaning predicate, Meaning object) Methods inherited from interface org.aksw.gerbil.transfer.nif.Marking
clone, getProvenanceInfo, setProvenanceInfo, toString
-
Method Details
-
setRelation
-
getRelation
-
getSubject
Meaning getSubject() -
getPredicate
Meaning getPredicate() -
getObject
Meaning getObject() -
equals
Returnstrueif the givenRelationinstances have equal subjects, predicates and objects.- Parameters:
r1- an instance ofRelationthat should be checked for its equality with the second instance based on the semantics of theRelationinterface.r2- an instance ofRelationthat should be checked for its equality with the first instance based on the semantics of theRelationinterface.- Returns:
trueif the givenRelationinstances have equal subjects, predicates and objects, elsefalse.
-