Module: Java::OrgTmapiCore::Occurrence

Extends:
Superiseable
Includes:
RTM::Occurrence
Defined in:
rtm-javatmapi/lib/rtm/javatmapi/core/occurrence.rb

Overview

Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. License: Apache License, Version 2.0

Instance Method Summary

Methods included from Superiseable

method_added, register_java_implementation, superised, superising

Instance Method Details

- (Object) parent Also known as: reverse_children

Returns the Topic this Occurrence belongs to.

:call-seq:

  parent -> Topic


14
15
16
# File 'rtm-javatmapi/lib/rtm/javatmapi/core/occurrence.rb', line 14

def parent
  getParent
end

- (Object) value

Returns the lexical representation of the value of the Occurrence.

For the datatype String the string itself is returned For the datatype anyURI the Locator.getReference -> String is returned.

:call-seq:

  value -> String


27
28
29
# File 'rtm-javatmapi/lib/rtm/javatmapi/core/occurrence.rb', line 27

def value
  getValue
end