lib/rtm/javatmapi/core/occurrence.rb in rtm-javatmapi-0.2.0 vs lib/rtm/javatmapi/core/occurrence.rb in rtm-javatmapi-0.2.1
- old
+ new
@@ -1,12 +1,13 @@
# Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig.
# License: Apache License, Version 2.0
module Java::OrgTmapiCore::Occurrence
-
- #include RTM::Occurrence
+ include RTM::Occurrence
+ extend Superiseable
+
# Returns the Topic this Occurrence belongs to.
#
# :call-seq:
# parent -> Topic
#
@@ -25,32 +26,7 @@
#
def value
getValue
end
-
- # If argument is a String, this methods sets the string value and
- # the datatype implicitly to xsd:string.
- #
- # If argument is a Locator, this method sets the IRI value and
- # the datatype implicitly to xsd:anyURI.
- #
- # If argument is a Float, this method sets the Float value and
- # the datatype implicitly to xsd:float.
- #
- # If argument is a Fixnum, this method sets Fixnum value and
- # the datatype implicitly to xsd:long.
- #
- # If argument is a Bignum, this method sets Bignum value and
- # the datatype implicitly to xsd:integer.
- #
- # :call-seq:
- # value=(argument)
- #
- def value=(argument)
- setValue(argument)
- end
-
-
-
-
end
+