Class: Rafflesia::OntologyContextColumn
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyContextColumn
- Defined in:
- lib/rafflesia/ontology/ontology_context_column.rb
Constant Summary collapse
- HASH_ATTRS =
{ coordinate_system: :coordinate_system, description: :description, identifier_namespace: :identifier_namespace, is_nullable: :is_nullable, is_required: :is_required, is_search_match: :is_search_match, name: :name, type: :type, unit: :unit, value_kind: :value_kind }.freeze
Instance Attribute Summary collapse
-
#coordinate_system ⇒ Object
Returns the value of attribute coordinate_system.
-
#description ⇒ Object
Returns the value of attribute description.
-
#identifier_namespace ⇒ Object
Returns the value of attribute identifier_namespace.
-
#is_nullable ⇒ Object
Returns the value of attribute is_nullable.
-
#is_required ⇒ Object
Returns the value of attribute is_required.
-
#is_search_match ⇒ Object
Returns the value of attribute is_search_match.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#value_kind ⇒ Object
Returns the value of attribute value_kind.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyContextColumn
constructor
A new instance of OntologyContextColumn.
Constructor Details
#initialize(json) ⇒ OntologyContextColumn
Returns a new instance of OntologyContextColumn.
33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 33 def initialize(json) super() hash = self.class.normalize(json) @coordinate_system = hash[:coordinate_system] @description = hash[:description] @identifier_namespace = hash[:identifier_namespace] @is_nullable = hash[:is_nullable] @is_required = hash[:is_required] @is_search_match = hash[:is_search_match] @name = hash[:name] @type = hash[:type] @unit = hash[:unit] @value_kind = hash[:value_kind] end |
Instance Attribute Details
#coordinate_system ⇒ Object
Returns the value of attribute coordinate_system.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def coordinate_system @coordinate_system end |
#description ⇒ Object
Returns the value of attribute description.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def description @description end |
#identifier_namespace ⇒ Object
Returns the value of attribute identifier_namespace.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def identifier_namespace @identifier_namespace end |
#is_nullable ⇒ Object
Returns the value of attribute is_nullable.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def is_nullable @is_nullable end |
#is_required ⇒ Object
Returns the value of attribute is_required.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def is_required @is_required end |
#is_search_match ⇒ Object
Returns the value of attribute is_search_match.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def is_search_match @is_search_match end |
#name ⇒ Object
Returns the value of attribute name.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def name @name end |
#type ⇒ Object
Returns the value of attribute type.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def type @type end |
#unit ⇒ Object
Returns the value of attribute unit.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def unit @unit end |
#value_kind ⇒ Object
Returns the value of attribute value_kind.
21 22 23 |
# File 'lib/rafflesia/ontology/ontology_context_column.rb', line 21 def value_kind @value_kind end |