Inheritance diagram for IBinaryRelation:
Collaboration diagram for IBinaryRelation:This interface describes a relationship between two annotations. The kind of relation should be specified in sub interfaces of this interface. Developers implementing specific relations should make use of the HasRelation-marker interfaces to define relations as transitivity of reflexivity.
Public Methods | |
| Annotation<?extends DataObject > | getReferee () |
| Annotation<?extends DataObject > | getReference () |
| void | setId (long id) |
Package Functions | |
| Collection< Annotation <?extends DataObject > > | getLinkedAnnotations () |
| long | getId () |
| long getId | ( | ) | [package, inherited] |
Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.
Implemented in LabeledAnnotation, AttributeValueMap, DublinCoreMetaDataImpl, Frequencies, CoincidenceStatsImpl, CorpusStatsImpl, MultipleTokensStats, VoynichTextLabelsImpl, SyntaxNode< T >, TabularSummary, SimpleComparatorScore, and AccessAdapterTestResultList.
| Collection<Annotation<? extends DataObject> > getLinkedAnnotations | ( | ) | [package, inherited] |
Returns the list of linked annotations. Never returns null. Depending on the concrete sub-interface, however, the number of elements in the returned collection can vary.
Implemented in BinaryRelation< A extends DataObject, B extends DataObject >, LinkedAnnotations, and SequencerReplacement.
| Annotation<? extends DataObject> getReferee | ( | ) |
Returns the first argument, or reference, of the relation. Seeing aRb as an representation of the relation, a is returned.
Implemented in BinaryRelation< A extends DataObject, B extends DataObject >.
| Annotation<? extends DataObject> getReference | ( | ) |
Returns the second argument, or reference, of the relation. Seeing aRb as an representation of the relation, b is returned.
Implemented in BinaryRelation< A extends DataObject, B extends DataObject >.
| void setId | ( | long | id | ) | [inherited] |
Set the Id of this DataObject.
| id |
Implemented in LabeledAnnotation, AttributeValueMap, DublinCoreMetaDataImpl, Frequencies, CoincidenceStatsImpl, CorpusStatsImpl, MultipleTokensStats, VoynichTextLabelsImpl, SyntaxNode< T >, TabularSummary, SimpleComparatorScore, and AccessAdapterTestResultList.