Class: Killbill::Plugin::Model::ColumnInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/killbill/gen/api/column_info.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeColumnInfo

Returns a new instance of ColumnInfo.



39
40
# File 'lib/killbill/gen/api/column_info.rb', line 39

def initialize()
end

Instance Attribute Details

#column_nameObject

Returns the value of attribute column_name.



37
38
39
# File 'lib/killbill/gen/api/column_info.rb', line 37

def column_name
  @column_name
end

#data_typeObject

Returns the value of attribute data_type.



37
38
39
# File 'lib/killbill/gen/api/column_info.rb', line 37

def data_type
  @data_type
end

#table_nameObject

Returns the value of attribute table_name.



37
38
39
# File 'lib/killbill/gen/api/column_info.rb', line 37

def table_name
  @table_name
end

Instance Method Details

#to_javaObject



42
43
44
45
46
47
48
49
50
51
52
# File 'lib/killbill/gen/api/column_info.rb', line 42

def to_java()
  # conversion for table_name [type = java.lang.String]
  @table_name = @table_name.to_s unless @table_name.nil?

  # conversion for column_name [type = java.lang.String]
  @column_name = @column_name.to_s unless @column_name.nil?

  # conversion for data_type [type = java.lang.String]
  @data_type = @data_type.to_s unless @data_type.nil?
  self
end

#to_ruby(j_obj) ⇒ Object



54
55
56
57
58
59
60
61
62
63
64
# File 'lib/killbill/gen/api/column_info.rb', line 54

def to_ruby(j_obj)
  # conversion for table_name [type = java.lang.String]
  @table_name = j_obj.table_name

  # conversion for column_name [type = java.lang.String]
  @column_name = j_obj.column_name

  # conversion for data_type [type = java.lang.String]
  @data_type = j_obj.data_type
  self
end