class Gedcomx::FieldValue
Public Class Methods
java_class()
click to toggle source
# File lib/gedcomx/field_value.rb, line 4 def self.java_class Java::OrgGedcomxRecords::FieldValue end
new(input = nil)
click to toggle source
# File lib/gedcomx/field_value.rb, line 8 def initialize(input = nil) @value = input || self.class.java_class.new end
Public Instance Methods
text()
click to toggle source
# File lib/gedcomx/field_value.rb, line 12 def text @value.get_text end
text=(input_string)
click to toggle source
# File lib/gedcomx/field_value.rb, line 16 def text=(input_string) @value.text= input_string end
to_java()
click to toggle source
# File lib/gedcomx/field_value.rb, line 28 def to_java @value end
type()
click to toggle source
# File lib/gedcomx/field_value.rb, line 20 def type @value.get_type.to_s end
type=(input_type)
click to toggle source
# File lib/gedcomx/field_value.rb, line 24 def type= (input_type) @value.type = ( input_type.is_a? Gedcomx.java_uri_class ) ? input_type : Gedcomx.new_uri(input_type) end