Class: TableColumn
- Inherits:
-
Object
- Object
- TableColumn
- Defined in:
- lib/read_table/table_column.rb
Overview
class used to represent a Table Column. Used internally to map SAP’s returned working area (WA) into class instances
Instance Attribute Summary collapse
-
#description ⇒ String
Field Description returned by the SAP dictionary.
-
#field_name ⇒ String
Name of the table field.
-
#length ⇒ Integer
Length of the field returned in the Working Area (WA).
-
#offset ⇒ Integer
Number of characters to offset when looking for the field in the Working Area (WA).
-
#type ⇒ String
Data Type (ex: Character, Decimal, Number).
Instance Attribute Details
#description ⇒ String
Returns Field Description returned by the SAP dictionary.
13 14 15 |
# File 'lib/read_table/table_column.rb', line 13 def description @description end |
#field_name ⇒ String
Returns Name of the table field.
5 6 7 |
# File 'lib/read_table/table_column.rb', line 5 def field_name @field_name end |
#length ⇒ Integer
Returns Length of the field returned in the Working Area (WA).
9 10 11 |
# File 'lib/read_table/table_column.rb', line 9 def length @length end |
#offset ⇒ Integer
Returns Number of characters to offset when looking for the field in the Working Area (WA).
7 8 9 |
# File 'lib/read_table/table_column.rb', line 7 def offset @offset end |
#type ⇒ String
Returns Data Type (ex: Character, Decimal, Number).
11 12 13 |
# File 'lib/read_table/table_column.rb', line 11 def type @type end |