Class: Opencdd::Parcel::SheetSchema::Column
- Inherits:
-
Struct
- Object
- Struct
- Opencdd::Parcel::SheetSchema::Column
- Defined in:
- lib/opencdd/parcel/sheet_schema.rb
Instance Attribute Summary collapse
-
#alternate_id ⇒ Object
Returns the value of attribute alternate_id.
-
#alternative_units ⇒ Object
Returns the value of attribute alternative_units.
-
#datatype ⇒ Object
Returns the value of attribute datatype.
-
#default_data_supplier ⇒ Object
Returns the value of attribute default_data_supplier.
-
#default_data_version ⇒ Object
Returns the value of attribute default_data_version.
-
#default_value ⇒ Object
Returns the value of attribute default_value.
-
#definition_by_lang ⇒ Object
Returns the value of attribute definition_by_lang.
-
#equivalent_id ⇒ Object
Returns the value of attribute equivalent_id.
-
#index ⇒ Object
Returns the value of attribute index.
-
#name_by_lang ⇒ Object
Returns the value of attribute name_by_lang.
-
#note_by_lang ⇒ Object
Returns the value of attribute note_by_lang.
-
#pattern ⇒ Object
Returns the value of attribute pattern.
-
#property_id ⇒ Object
Returns the value of attribute property_id.
-
#raw_property_id ⇒ Object
Returns the value of attribute raw_property_id.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#requirement ⇒ Object
Returns the value of attribute requirement.
-
#sub_alternate_id ⇒ Object
Returns the value of attribute sub_alternate_id.
-
#super_alternate_id ⇒ Object
Returns the value of attribute super_alternate_id.
-
#super_property ⇒ Object
Returns the value of attribute super_property.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#unit_id ⇒ Object
Returns the value of attribute unit_id.
-
#value_format ⇒ Object
Returns the value of attribute value_format.
-
#variable_prefix_unit ⇒ Object
Returns the value of attribute variable_prefix_unit.
Instance Method Summary collapse
- #definition(lang = :en) ⇒ Object
- #key? ⇒ Boolean
- #name(lang = :en) ⇒ Object
- #note(lang = :en) ⇒ Object
- #obsolete? ⇒ Boolean
- #required? ⇒ Boolean
Instance Attribute Details
#alternate_id ⇒ Object
Returns the value of attribute alternate_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def alternate_id @alternate_id end |
#alternative_units ⇒ Object
Returns the value of attribute alternative_units
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def alternative_units @alternative_units end |
#datatype ⇒ Object
Returns the value of attribute datatype
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def datatype @datatype end |
#default_data_supplier ⇒ Object
Returns the value of attribute default_data_supplier
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def default_data_supplier @default_data_supplier end |
#default_data_version ⇒ Object
Returns the value of attribute default_data_version
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def default_data_version @default_data_version end |
#default_value ⇒ Object
Returns the value of attribute default_value
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def default_value @default_value end |
#definition_by_lang ⇒ Object
Returns the value of attribute definition_by_lang
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def definition_by_lang @definition_by_lang end |
#equivalent_id ⇒ Object
Returns the value of attribute equivalent_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def equivalent_id @equivalent_id end |
#index ⇒ Object
Returns the value of attribute index
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def index @index end |
#name_by_lang ⇒ Object
Returns the value of attribute name_by_lang
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def name_by_lang @name_by_lang end |
#note_by_lang ⇒ Object
Returns the value of attribute note_by_lang
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def note_by_lang @note_by_lang end |
#pattern ⇒ Object
Returns the value of attribute pattern
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def pattern @pattern end |
#property_id ⇒ Object
Returns the value of attribute property_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def property_id @property_id end |
#raw_property_id ⇒ Object
Returns the value of attribute raw_property_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def raw_property_id @raw_property_id end |
#relation ⇒ Object
Returns the value of attribute relation
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def relation @relation end |
#requirement ⇒ Object
Returns the value of attribute requirement
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def requirement @requirement end |
#sub_alternate_id ⇒ Object
Returns the value of attribute sub_alternate_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def sub_alternate_id @sub_alternate_id end |
#super_alternate_id ⇒ Object
Returns the value of attribute super_alternate_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def super_alternate_id @super_alternate_id end |
#super_property ⇒ Object
Returns the value of attribute super_property
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def super_property @super_property end |
#unit ⇒ Object
Returns the value of attribute unit
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def unit @unit end |
#unit_id ⇒ Object
Returns the value of attribute unit_id
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def unit_id @unit_id end |
#value_format ⇒ Object
Returns the value of attribute value_format
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def value_format @value_format end |
#variable_prefix_unit ⇒ Object
Returns the value of attribute variable_prefix_unit
62 63 64 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 62 def variable_prefix_unit @variable_prefix_unit end |
Instance Method Details
#definition(lang = :en) ⇒ Object
92 93 94 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 92 def definition(lang = :en) definition_by_lang[lang.to_s] end |
#key? ⇒ Boolean
104 105 106 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 104 def key? requirement == "KEY" end |
#name(lang = :en) ⇒ Object
88 89 90 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 88 def name(lang = :en) name_by_lang[lang.to_s] end |
#note(lang = :en) ⇒ Object
96 97 98 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 96 def note(lang = :en) note_by_lang[lang.to_s] end |
#obsolete? ⇒ Boolean
108 109 110 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 108 def obsolete? requirement == "OBS" end |
#required? ⇒ Boolean
100 101 102 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 100 def required? requirement == "MAND" end |