Sha256: ada1807c32e8cd7d665a1cc22df773e5c333c60b1ff239527366b671a1217044
Contents?: true
Size: 920 Bytes
Versions: 3
Compression:
Stored size: 920 Bytes
Contents
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. # License: Apache License, Version 2.0 module Java::OrgTmapiCore::Role include RTM::Role extend Superiseable # Returns the Association to which this Role belongs. # # :call-seq: # parent -> Association # def parent getParent end alias :reverse_children :parent # Returns the Topic playing the current Role. # # :call-seq: # player -> Topic # def player getPlayer end superised # Sets the role player. Any previous role player will be overriden. # # Identifier may be a topic reference. # # :call-seq: # player=(identifier) # def player=(identifier) setPlayer(topic_map.get!(identifier)) end # Returns the identifier of the current Role. # This property has no representation in the Topic Maps - Data Model. # # :call-seq: # id -> String # def id getId end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rtm-javatmapi-0.3.1-java | lib/rtm/javatmapi/core/role.rb |
rtm-javatmapi-0.3.0 | lib/rtm/javatmapi/core/role.rb |
rtm-javatmapi-0.2.1 | lib/rtm/javatmapi/core/role.rb |