org.dishevelled.vocabulary
Interface Relation

All Known Implementing Classes:
SimpleRelation

public interface Relation

A relation is a binary directional link between a source and a target concept present in the same domain.

Version:
$Revision$ $Date$
Author:
Michael Heuer

Method Summary
 Domain getDomain()
          Return the domain of this relation.
 java.lang.String getName()
          Return the name of this relation.
 Concept getSource()
          Return the source concept of this relation.
 Concept getTarget()
          Return the target concept of this relation.
 

Method Detail

getName

java.lang.String getName()
Return the name of this relation.

Returns:
the name

getSource

Concept getSource()
Return the source concept of this relation. The source concept must not be null.

Returns:
the source concept

getTarget

Concept getTarget()
Return the target concept of this relation. The target concept must not be null.

Returns:
the target concept

getDomain

Domain getDomain()
Return the domain of this relation. The domain must not be null.

Returns:
the domain


Copyright (c) 2002-2004 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).