Class: Rafflesia::OntologyJoinStep
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyJoinStep
- Defined in:
- lib/rafflesia/database_join_measurements/ontology_join_step.rb
Constant Summary collapse
- HASH_ATTRS =
{ alt_local_columns: :alt_local_columns, alt_remote_columns: :alt_remote_columns, can_fan_out: :can_fan_out, cardinality: :cardinality, cardinality_status: :cardinality_status, coordinate_notes: :coordinate_notes, definition_source: :definition_source, evidence_digest: :evidence_digest, fragment: :fragment, from_relation: :from_relation, from_selector: :from_selector, has_many_to_many: :has_many_to_many, id: :id, is_lossy: :is_lossy, is_range_mapping: :is_range_mapping, key_overlap_status: :key_overlap_status, key_variant: :key_variant, local_columns: :local_columns, measurement_id: :measurement_id, measurement_url: :measurement_url, object: :object, observation_status: :observation_status, remote_columns: :remote_columns, safety: :safety, safety_reason: :safety_reason, to_relation: :to_relation, to_selector: :to_selector }.freeze
Instance Attribute Summary collapse
-
#alt_local_columns ⇒ Object
Returns the value of attribute alt_local_columns.
-
#alt_remote_columns ⇒ Object
Returns the value of attribute alt_remote_columns.
-
#can_fan_out ⇒ Object
Returns the value of attribute can_fan_out.
-
#cardinality ⇒ Object
Returns the value of attribute cardinality.
-
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
-
#coordinate_notes ⇒ Object
Returns the value of attribute coordinate_notes.
-
#definition_source ⇒ Object
Returns the value of attribute definition_source.
-
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
-
#fragment ⇒ Object
Returns the value of attribute fragment.
-
#from_relation ⇒ Object
Returns the value of attribute from_relation.
-
#from_selector ⇒ Object
Returns the value of attribute from_selector.
-
#has_many_to_many ⇒ Object
Returns the value of attribute has_many_to_many.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_lossy ⇒ Object
Returns the value of attribute is_lossy.
-
#is_range_mapping ⇒ Object
Returns the value of attribute is_range_mapping.
-
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
-
#key_variant ⇒ Object
Returns the value of attribute key_variant.
-
#local_columns ⇒ Object
Returns the value of attribute local_columns.
-
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
-
#measurement_url ⇒ Object
Returns the value of attribute measurement_url.
-
#object ⇒ Object
Returns the value of attribute object.
-
#observation_status ⇒ Object
Returns the value of attribute observation_status.
-
#remote_columns ⇒ Object
Returns the value of attribute remote_columns.
-
#safety ⇒ Object
Returns the value of attribute safety.
-
#safety_reason ⇒ Object
Returns the value of attribute safety_reason.
-
#to_relation ⇒ Object
Returns the value of attribute to_relation.
-
#to_selector ⇒ Object
Returns the value of attribute to_selector.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyJoinStep
constructor
A new instance of OntologyJoinStep.
Constructor Details
#initialize(json) ⇒ OntologyJoinStep
Returns a new instance of OntologyJoinStep.
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 67 def initialize(json) super() hash = self.class.normalize(json) @alt_local_columns = (hash[:alt_local_columns] || []) @alt_remote_columns = (hash[:alt_remote_columns] || []) @can_fan_out = hash[:can_fan_out] @cardinality = hash[:cardinality] @cardinality_status = hash[:cardinality_status] @coordinate_notes = hash[:coordinate_notes] @definition_source = hash[:definition_source] @evidence_digest = hash[:evidence_digest] @fragment = hash[:fragment] ? Rafflesia::DatabaseJoinFragment.new(hash[:fragment]) : nil @from_relation = hash[:from_relation] @from_selector = hash[:from_selector] @has_many_to_many = hash[:has_many_to_many] @id = hash[:id] @is_lossy = hash[:is_lossy] @is_range_mapping = hash[:is_range_mapping] @key_overlap_status = hash[:key_overlap_status] @key_variant = hash[:key_variant] @local_columns = (hash[:local_columns] || []) @measurement_id = hash[:measurement_id] @measurement_url = hash[:measurement_url] @object = hash[:object] @observation_status = hash[:observation_status] @remote_columns = (hash[:remote_columns] || []) @safety = hash[:safety] @safety_reason = hash[:safety_reason] @to_relation = hash[:to_relation] @to_selector = hash[:to_selector] end |
Instance Attribute Details
#alt_local_columns ⇒ Object
Returns the value of attribute alt_local_columns.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def alt_local_columns @alt_local_columns end |
#alt_remote_columns ⇒ Object
Returns the value of attribute alt_remote_columns.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def alt_remote_columns @alt_remote_columns end |
#can_fan_out ⇒ Object
Returns the value of attribute can_fan_out.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def can_fan_out @can_fan_out end |
#cardinality ⇒ Object
Returns the value of attribute cardinality.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def cardinality @cardinality end |
#cardinality_status ⇒ Object
Returns the value of attribute cardinality_status.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def cardinality_status @cardinality_status end |
#coordinate_notes ⇒ Object
Returns the value of attribute coordinate_notes.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def coordinate_notes @coordinate_notes end |
#definition_source ⇒ Object
Returns the value of attribute definition_source.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def definition_source @definition_source end |
#evidence_digest ⇒ Object
Returns the value of attribute evidence_digest.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def evidence_digest @evidence_digest end |
#fragment ⇒ Object
Returns the value of attribute fragment.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def fragment @fragment end |
#from_relation ⇒ Object
Returns the value of attribute from_relation.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def from_relation @from_relation end |
#from_selector ⇒ Object
Returns the value of attribute from_selector.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def from_selector @from_selector end |
#has_many_to_many ⇒ Object
Returns the value of attribute has_many_to_many.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def has_many_to_many @has_many_to_many end |
#id ⇒ Object
Returns the value of attribute id.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def id @id end |
#is_lossy ⇒ Object
Returns the value of attribute is_lossy.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def is_lossy @is_lossy end |
#is_range_mapping ⇒ Object
Returns the value of attribute is_range_mapping.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def is_range_mapping @is_range_mapping end |
#key_overlap_status ⇒ Object
Returns the value of attribute key_overlap_status.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def key_overlap_status @key_overlap_status end |
#key_variant ⇒ Object
Returns the value of attribute key_variant.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def key_variant @key_variant end |
#local_columns ⇒ Object
Returns the value of attribute local_columns.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def local_columns @local_columns end |
#measurement_id ⇒ Object
Returns the value of attribute measurement_id.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def measurement_id @measurement_id end |
#measurement_url ⇒ Object
Returns the value of attribute measurement_url.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def measurement_url @measurement_url end |
#object ⇒ Object
Returns the value of attribute object.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def object @object end |
#observation_status ⇒ Object
Returns the value of attribute observation_status.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def observation_status @observation_status end |
#remote_columns ⇒ Object
Returns the value of attribute remote_columns.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def remote_columns @remote_columns end |
#safety ⇒ Object
Returns the value of attribute safety.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def safety @safety end |
#safety_reason ⇒ Object
Returns the value of attribute safety_reason.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def safety_reason @safety_reason end |
#to_relation ⇒ Object
Returns the value of attribute to_relation.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def to_relation @to_relation end |
#to_selector ⇒ Object
Returns the value of attribute to_selector.
38 39 40 |
# File 'lib/rafflesia/database_join_measurements/ontology_join_step.rb', line 38 def to_selector @to_selector end |