001package de.deepamehta.core.model;
002
003
004
005/**
006 * The role a topic plays in an association.
007 * <p>
008 * A TopicRoleModel object is a pair of a topic reference and a role type reference.
009 * The topic is refered to either by its ID or URI.
010 * The role type is refered to by its URI.
011 * <p>
012 * Assertion: both, the topic reference and the role type reference are set.
013 * <p>
014 * In the database a role type is represented by a topic of type "dm4.core.role_type".
015 */
016public interface TopicRoleModel extends RoleModel {
017
018    String getTopicUri();
019
020    boolean topicIdentifiedByUri();
021}