Module: RTM::Sugar::TopicMap::Types
- Defined in:
- rtm/lib/rtm/sugar/topic_map/types.rb,
rtm/spec/rtm/sugar/topic_map/types_spec.rb
Instance Method Summary
-
- (Object) association_types
Returns all topics in this topic map that are used as types of associations.
-
- (Object) name_types
Returns all Topics in this TopicMap that are used as types of Names.
-
- (Object) occurrence_types
Returns all Topics in this TopicMap that are used as types of Occurrences.
-
- (Object) role_types
Returns the all Topics in this TopicMap that are used as types of Roles.
Instance Method Details
- (Object) association_types
Returns all topics in this topic map that are used as types of associations.
:call-seq:
association_types -> Collection of Topics
14 15 16 |
# File 'rtm/lib/rtm/sugar/topic_map/types.rb', line 14 def association_types type_instance_index.getAssociationTypes end |
- (Object) name_types
Returns all Topics in this TopicMap that are used as types of Names.
:call-seq:
name_types -> Collection of Topics
34 35 36 |
# File 'rtm/lib/rtm/sugar/topic_map/types.rb', line 34 def name_types type_instance_index.getNameTypes end |
- (Object) occurrence_types
Returns all Topics in this TopicMap that are used as types of Occurrences.
:call-seq:
occurrence_types -> Collection of Topics
44 45 46 |
# File 'rtm/lib/rtm/sugar/topic_map/types.rb', line 44 def occurrence_types type_instance_index.getOccurrenceTypes end |
- (Object) role_types
Returns the all Topics in this TopicMap that are used as types of Roles.
:call-seq:
role_types -> Collection of Topics
24 25 26 |
# File 'rtm/lib/rtm/sugar/topic_map/types.rb', line 24 def role_types type_instance_index.getRoleTypes end |