public interface AssociationIF extends ScopedIF, TypedIF, ReifiableIF
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_ADD_ROLE |
static String |
EVENT_ADD_THEME |
static String |
EVENT_ADDED |
static String |
EVENT_REMOVE_ROLE |
static String |
EVENT_REMOVE_THEME |
static String |
EVENT_REMOVED |
static String |
EVENT_SET_TYPE |
EVENT_SET_REIFIER
EVENT_ADD_ITEMIDENTIFIER, EVENT_REMOVE_ITEMIDENTIFIER, MSG_NULL_ARGUMENT
Modifier and Type | Method and Description |
---|---|
Collection<AssociationRoleIF> |
getRoles()
PUBLIC: Gets all the association roles of the association.
|
Collection<AssociationRoleIF> |
getRolesByType(TopicIF roletype)
PUBLIC: Gets the association roles in this association which are of the given
role type.
|
Collection<TopicIF> |
getRoleTypes()
PUBLIC: Gets a Collection of association role types found
in this association.
|
addTheme, getScope, removeTheme
getReifier, setReifier
addItemIdentifier, getItemIdentifiers, getObjectId, getTopicMap, isReadOnly, remove, removeItemIdentifier
static final String EVENT_ADDED
static final String EVENT_REMOVED
static final String EVENT_SET_TYPE
static final String EVENT_ADD_ROLE
static final String EVENT_REMOVE_ROLE
static final String EVENT_ADD_THEME
static final String EVENT_REMOVE_THEME
Collection<TopicIF> getRoleTypes()
Collection<AssociationRoleIF> getRolesByType(TopicIF roletype)
roletype
- The type of the roles returned; an object implementing TopicIF.
If null the method will return the roles that have no type.Collection<AssociationRoleIF> getRoles()