Class: Rafflesia::RelationReleaseOntologyRelation
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::RelationReleaseOntologyRelation
- Defined in:
- lib/rafflesia/datasets/relation_release_ontology_relation.rb
Constant Summary collapse
- HASH_ATTRS =
{ connectivity_class: :connectivity_class, direct_identity_safe_release_edge_count: :direct_identity_safe_release_edge_count, direct_strict_release_edge_count: :direct_strict_release_edge_count, identity_safe_component_id: :identity_safe_component_id, identity_safe_component_size: :identity_safe_component_size, identity_safe_reachable_release_relation_count: :identity_safe_reachable_release_relation_count, inferred_identity_safe_release_relation_count: :inferred_identity_safe_release_relation_count, inferred_strict_release_relation_count: :inferred_strict_release_relation_count, relation: :relation, strict_component_id: :strict_component_id, strict_component_size: :strict_component_size, strict_reachable_release_relation_count: :strict_reachable_release_relation_count }.freeze
Instance Attribute Summary collapse
-
#connectivity_class ⇒ Object
Returns the value of attribute connectivity_class.
-
#direct_identity_safe_release_edge_count ⇒ Object
Returns the value of attribute direct_identity_safe_release_edge_count.
-
#direct_strict_release_edge_count ⇒ Object
Returns the value of attribute direct_strict_release_edge_count.
-
#identity_safe_component_id ⇒ Object
Returns the value of attribute identity_safe_component_id.
-
#identity_safe_component_size ⇒ Object
Returns the value of attribute identity_safe_component_size.
-
#identity_safe_reachable_release_relation_count ⇒ Object
Returns the value of attribute identity_safe_reachable_release_relation_count.
-
#inferred_identity_safe_release_relation_count ⇒ Object
Returns the value of attribute inferred_identity_safe_release_relation_count.
-
#inferred_strict_release_relation_count ⇒ Object
Returns the value of attribute inferred_strict_release_relation_count.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#strict_component_id ⇒ Object
Returns the value of attribute strict_component_id.
-
#strict_component_size ⇒ Object
Returns the value of attribute strict_component_size.
-
#strict_reachable_release_relation_count ⇒ Object
Returns the value of attribute strict_reachable_release_relation_count.
Instance Method Summary collapse
-
#initialize(json) ⇒ RelationReleaseOntologyRelation
constructor
A new instance of RelationReleaseOntologyRelation.
Constructor Details
#initialize(json) ⇒ RelationReleaseOntologyRelation
Returns a new instance of RelationReleaseOntologyRelation.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @connectivity_class = hash[:connectivity_class] @direct_identity_safe_release_edge_count = hash[:direct_identity_safe_release_edge_count] @direct_strict_release_edge_count = hash[:direct_strict_release_edge_count] @identity_safe_component_id = hash[:identity_safe_component_id] @identity_safe_component_size = hash[:identity_safe_component_size] @identity_safe_reachable_release_relation_count = hash[:identity_safe_reachable_release_relation_count] @inferred_identity_safe_release_relation_count = hash[:inferred_identity_safe_release_relation_count] @inferred_strict_release_relation_count = hash[:inferred_strict_release_relation_count] @relation = hash[:relation] @strict_component_id = hash[:strict_component_id] @strict_component_size = hash[:strict_component_size] @strict_reachable_release_relation_count = hash[:strict_reachable_release_relation_count] end |
Instance Attribute Details
#connectivity_class ⇒ Object
Returns the value of attribute connectivity_class.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def connectivity_class @connectivity_class end |
#direct_identity_safe_release_edge_count ⇒ Object
Returns the value of attribute direct_identity_safe_release_edge_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def direct_identity_safe_release_edge_count @direct_identity_safe_release_edge_count end |
#direct_strict_release_edge_count ⇒ Object
Returns the value of attribute direct_strict_release_edge_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def direct_strict_release_edge_count @direct_strict_release_edge_count end |
#identity_safe_component_id ⇒ Object
Returns the value of attribute identity_safe_component_id.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def identity_safe_component_id @identity_safe_component_id end |
#identity_safe_component_size ⇒ Object
Returns the value of attribute identity_safe_component_size.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def identity_safe_component_size @identity_safe_component_size end |
#identity_safe_reachable_release_relation_count ⇒ Object
Returns the value of attribute identity_safe_reachable_release_relation_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def identity_safe_reachable_release_relation_count @identity_safe_reachable_release_relation_count end |
#inferred_identity_safe_release_relation_count ⇒ Object
Returns the value of attribute inferred_identity_safe_release_relation_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def inferred_identity_safe_release_relation_count @inferred_identity_safe_release_relation_count end |
#inferred_strict_release_relation_count ⇒ Object
Returns the value of attribute inferred_strict_release_relation_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def inferred_strict_release_relation_count @inferred_strict_release_relation_count end |
#relation ⇒ Object
Returns the value of attribute relation.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def relation @relation end |
#strict_component_id ⇒ Object
Returns the value of attribute strict_component_id.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def strict_component_id @strict_component_id end |
#strict_component_size ⇒ Object
Returns the value of attribute strict_component_size.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def strict_component_size @strict_component_size end |
#strict_reachable_release_relation_count ⇒ Object
Returns the value of attribute strict_reachable_release_relation_count.
23 24 25 |
# File 'lib/rafflesia/datasets/relation_release_ontology_relation.rb', line 23 def strict_reachable_release_relation_count @strict_reachable_release_relation_count end |