Module: Java::OrgTmapiCore::Occurrence

Extended by:
Superiseable
Includes:
RTM::Occurrence
Defined in:
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 collapse

Methods included from Superiseable

method_added, register_java_implementation, superised, superising

Instance Method Details

#parentObject Also known as: reverse_children

Returns the Topic this Occurrence belongs to.

:call-seq:

parent -> Topic


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

def parent
	getParent
end

#valueObject

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 'lib/rtm/javatmapi/core/occurrence.rb', line 27

def value
	getValue
end