Module: RTM::Sugar::TopicMap::Scoped

Defined in:
rtm/lib/rtm/sugar/topic_map/scoped.rb,
rtm/spec/rtm/sugar/topic_map/scoped_spec.rb

Instance Method Summary

Instance Method Details

- (Object) association_themes

Returns all topics in the topic map used in the scope property of Associations.

The result may be empty.

:call-seq:

  association_themes -> Collection of Topics


16
17
18
# File 'rtm/lib/rtm/sugar/topic_map/scoped.rb', line 16

def association_themes
  scoped_index.getAssociationThemes
end

- (Object) name_themes

Returns all topics in the topic map used in the scope property of Names.

:call-seq:

  name_themes -> Collection of Topics


26
27
28
# File 'rtm/lib/rtm/sugar/topic_map/scoped.rb', line 26

def name_themes
  scoped_index.getNameThemes
end

- (Object) occurrence_themes

Returns all topics in the topic map used in the scope property of Occurrences.

:call-seq:

  occurrence_themes -> Collection of Topics


36
37
38
# File 'rtm/lib/rtm/sugar/topic_map/scoped.rb', line 36

def occurrence_themes
  scoped_index.getOccurrenceThemes
end

- (Object) variant_themes

Returns all topics in the topic map used in the scope property of Variants.

:call-seq:

  variant_themes -> Collection of Topics


46
47
48
# File 'rtm/lib/rtm/sugar/topic_map/scoped.rb', line 46

def variant_themes
  scoped_index.getVariantThemes
end