Class: Rafflesia::OntologyTypedKeyNode
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyTypedKeyNode
- Defined in:
- lib/rafflesia/ontology/ontology_typed_key_node.rb
Constant Summary collapse
- HASH_ATTRS =
{ columns: :columns, coordinate_systems: :coordinate_systems, id: :id, identifier_namespaces: :identifier_namespaces, identity_component_id: :identity_component_id, identity_component_size: :identity_component_size, key_variants: :key_variants, physical_types: :physical_types, relation: :relation, traversal_component_id: :traversal_component_id, traversal_component_size: :traversal_component_size, value_kinds: :value_kinds }.freeze
Instance Attribute Summary collapse
-
#columns ⇒ Object
Returns the value of attribute columns.
-
#coordinate_systems ⇒ Object
Returns the value of attribute coordinate_systems.
-
#id ⇒ Object
Returns the value of attribute id.
-
#identifier_namespaces ⇒ Object
Returns the value of attribute identifier_namespaces.
-
#identity_component_id ⇒ Object
Returns the value of attribute identity_component_id.
-
#identity_component_size ⇒ Object
Returns the value of attribute identity_component_size.
-
#key_variants ⇒ Object
Returns the value of attribute key_variants.
-
#physical_types ⇒ Object
Returns the value of attribute physical_types.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#traversal_component_id ⇒ Object
Returns the value of attribute traversal_component_id.
-
#traversal_component_size ⇒ Object
Returns the value of attribute traversal_component_size.
-
#value_kinds ⇒ Object
Returns the value of attribute value_kinds.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyTypedKeyNode
constructor
A new instance of OntologyTypedKeyNode.
Constructor Details
#initialize(json) ⇒ OntologyTypedKeyNode
Returns a new instance of OntologyTypedKeyNode.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @columns = (hash[:columns] || []) @coordinate_systems = (hash[:coordinate_systems] || []) @id = hash[:id] @identifier_namespaces = (hash[:identifier_namespaces] || []) @identity_component_id = hash[:identity_component_id] @identity_component_size = hash[:identity_component_size] @key_variants = (hash[:key_variants] || []) @physical_types = (hash[:physical_types] || []) @relation = hash[:relation] @traversal_component_id = hash[:traversal_component_id] @traversal_component_size = hash[:traversal_component_size] @value_kinds = (hash[:value_kinds] || []) end |
Instance Attribute Details
#columns ⇒ Object
Returns the value of attribute columns.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def columns @columns end |
#coordinate_systems ⇒ Object
Returns the value of attribute coordinate_systems.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def coordinate_systems @coordinate_systems end |
#id ⇒ Object
Returns the value of attribute id.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def id @id end |
#identifier_namespaces ⇒ Object
Returns the value of attribute identifier_namespaces.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def identifier_namespaces @identifier_namespaces end |
#identity_component_id ⇒ Object
Returns the value of attribute identity_component_id.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def identity_component_id @identity_component_id end |
#identity_component_size ⇒ Object
Returns the value of attribute identity_component_size.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def identity_component_size @identity_component_size end |
#key_variants ⇒ Object
Returns the value of attribute key_variants.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def key_variants @key_variants end |
#physical_types ⇒ Object
Returns the value of attribute physical_types.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def physical_types @physical_types end |
#relation ⇒ Object
Returns the value of attribute relation.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def relation @relation end |
#traversal_component_id ⇒ Object
Returns the value of attribute traversal_component_id.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def traversal_component_id @traversal_component_id end |
#traversal_component_size ⇒ Object
Returns the value of attribute traversal_component_size.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def traversal_component_size @traversal_component_size end |
#value_kinds ⇒ Object
Returns the value of attribute value_kinds.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_typed_key_node.rb', line 23 def value_kinds @value_kinds end |