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
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def alternate_id @alternate_id end |
#alternative_units ⇒ Object
Returns the value of attribute alternative_units
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def alternative_units @alternative_units end |
#datatype ⇒ Object
Returns the value of attribute datatype
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def datatype @datatype end |
#default_data_supplier ⇒ Object
Returns the value of attribute default_data_supplier
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def default_data_supplier @default_data_supplier end |
#default_data_version ⇒ Object
Returns the value of attribute default_data_version
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def default_data_version @default_data_version end |
#default_value ⇒ Object
Returns the value of attribute default_value
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def default_value @default_value end |
#definition_by_lang ⇒ Object
Returns the value of attribute definition_by_lang
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def definition_by_lang @definition_by_lang end |
#equivalent_id ⇒ Object
Returns the value of attribute equivalent_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def equivalent_id @equivalent_id end |
#index ⇒ Object
Returns the value of attribute index
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def index @index end |
#name_by_lang ⇒ Object
Returns the value of attribute name_by_lang
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def name_by_lang @name_by_lang end |
#note_by_lang ⇒ Object
Returns the value of attribute note_by_lang
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def note_by_lang @note_by_lang end |
#pattern ⇒ Object
Returns the value of attribute pattern
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def pattern @pattern end |
#property_id ⇒ Object
Returns the value of attribute property_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def property_id @property_id end |
#raw_property_id ⇒ Object
Returns the value of attribute raw_property_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def raw_property_id @raw_property_id end |
#relation ⇒ Object
Returns the value of attribute relation
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def relation @relation end |
#requirement ⇒ Object
Returns the value of attribute requirement
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def requirement @requirement end |
#sub_alternate_id ⇒ Object
Returns the value of attribute sub_alternate_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def sub_alternate_id @sub_alternate_id end |
#super_alternate_id ⇒ Object
Returns the value of attribute super_alternate_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def super_alternate_id @super_alternate_id end |
#super_property ⇒ Object
Returns the value of attribute super_property
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def super_property @super_property end |
#unit ⇒ Object
Returns the value of attribute unit
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def unit @unit end |
#unit_id ⇒ Object
Returns the value of attribute unit_id
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def unit_id @unit_id end |
#value_format ⇒ Object
Returns the value of attribute value_format
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def value_format @value_format end |
#variable_prefix_unit ⇒ Object
Returns the value of attribute variable_prefix_unit
60 61 62 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 60 def variable_prefix_unit @variable_prefix_unit end |
Instance Method Details
#definition(lang = :en) ⇒ Object
90 91 92 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 90 def definition(lang = :en) definition_by_lang[lang.to_s] end |
#key? ⇒ Boolean
102 103 104 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 102 def key? requirement == "KEY" end |
#name(lang = :en) ⇒ Object
86 87 88 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 86 def name(lang = :en) name_by_lang[lang.to_s] end |
#note(lang = :en) ⇒ Object
94 95 96 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 94 def note(lang = :en) note_by_lang[lang.to_s] end |
#obsolete? ⇒ Boolean
106 107 108 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 106 def obsolete? requirement == "OBS" end |
#required? ⇒ Boolean
98 99 100 |
# File 'lib/opencdd/parcel/sheet_schema.rb', line 98 def required? requirement == "MAND" end |