Module: Java::OrgTmapiCore::Typed
- Extends:
- Superiseable
- Includes:
- RTM::Typed
- Defined in:
- rtm-javatmapi/lib/rtm/javatmapi/core/typed.rb
Overview
Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. License: Apache License, Version 2.0
Instance Method Summary
-
- (Object) type
Returns the type of this typed construct (occurrence, role, association or name).
-
- (Object) type(identifier)
Sets the type of this typed Construct.
Methods included from Superiseable
method_added, register_java_implementation, superised, superising
Instance Method Details
- (Object) type
Returns the type of this typed construct (occurrence, role, association or name).
:call-seq:
type -> Topic
15 16 17 |
# File 'rtm-javatmapi/lib/rtm/javatmapi/core/typed.rb', line 15 def type getType end |
- (Object) type=(identifier)
Sets the type of this typed Construct. Any previous type is overridden.
Identifier may be a topic reference.
:call-seq:
type=(identifier)
27 28 29 |
# File 'rtm-javatmapi/lib/rtm/javatmapi/core/typed.rb', line 27 def type=(identifier) setType(topic_map.get!(identifier)) end |