Class: Rafflesia::OntologyConnectivityImpactData
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyConnectivityImpactData
- Defined in:
- lib/rafflesia/ontology/ontology_connectivity_impact_data.rb
Constant Summary collapse
- HASH_ATTRS =
{ formula: :formula, from_component_id: :from_component_id, from_component_size: :from_component_size, from_relation: :from_relation, id: :id, is_already_reachable: :is_already_reachable, object: :object, ontology_digest: :ontology_digest, ontology_version: :ontology_version, reachable_pair_gain: :reachable_pair_gain, safety: :safety, to_component_id: :to_component_id, to_component_size: :to_component_size, to_relation: :to_relation }.freeze
Instance Attribute Summary collapse
-
#formula ⇒ Object
Returns the value of attribute formula.
-
#from_component_id ⇒ Object
Returns the value of attribute from_component_id.
-
#from_component_size ⇒ Object
Returns the value of attribute from_component_size.
-
#from_relation ⇒ Object
Returns the value of attribute from_relation.
-
#id ⇒ Object
Returns the value of attribute id.
-
#is_already_reachable ⇒ Object
Returns the value of attribute is_already_reachable.
-
#object ⇒ Object
Returns the value of attribute object.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
-
#reachable_pair_gain ⇒ Object
Returns the value of attribute reachable_pair_gain.
-
#safety ⇒ Object
Returns the value of attribute safety.
-
#to_component_id ⇒ Object
Returns the value of attribute to_component_id.
-
#to_component_size ⇒ Object
Returns the value of attribute to_component_size.
-
#to_relation ⇒ Object
Returns the value of attribute to_relation.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyConnectivityImpactData
constructor
A new instance of OntologyConnectivityImpactData.
Constructor Details
#initialize(json) ⇒ OntologyConnectivityImpactData
Returns a new instance of OntologyConnectivityImpactData.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @formula = hash[:formula] @from_component_id = hash[:from_component_id] @from_component_size = hash[:from_component_size] @from_relation = hash[:from_relation] @id = hash[:id] @is_already_reachable = hash[:is_already_reachable] @object = hash[:object] @ontology_digest = hash[:ontology_digest] @ontology_version = hash[:ontology_version] @reachable_pair_gain = hash[:reachable_pair_gain] @safety = hash[:safety] @to_component_id = hash[:to_component_id] @to_component_size = hash[:to_component_size] @to_relation = hash[:to_relation] end |
Instance Attribute Details
#formula ⇒ Object
Returns the value of attribute formula.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def formula @formula end |
#from_component_id ⇒ Object
Returns the value of attribute from_component_id.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def from_component_id @from_component_id end |
#from_component_size ⇒ Object
Returns the value of attribute from_component_size.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def from_component_size @from_component_size end |
#from_relation ⇒ Object
Returns the value of attribute from_relation.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def from_relation @from_relation end |
#id ⇒ Object
Returns the value of attribute id.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def id @id end |
#is_already_reachable ⇒ Object
Returns the value of attribute is_already_reachable.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def is_already_reachable @is_already_reachable end |
#object ⇒ Object
Returns the value of attribute object.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def object @object end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def ontology_digest @ontology_digest end |
#ontology_version ⇒ Object
Returns the value of attribute ontology_version.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def ontology_version @ontology_version end |
#reachable_pair_gain ⇒ Object
Returns the value of attribute reachable_pair_gain.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def reachable_pair_gain @reachable_pair_gain end |
#safety ⇒ Object
Returns the value of attribute safety.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def safety @safety end |
#to_component_id ⇒ Object
Returns the value of attribute to_component_id.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def to_component_id @to_component_id end |
#to_component_size ⇒ Object
Returns the value of attribute to_component_size.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def to_component_size @to_component_size end |
#to_relation ⇒ Object
Returns the value of attribute to_relation.
25 26 27 |
# File 'lib/rafflesia/ontology/ontology_connectivity_impact_data.rb', line 25 def to_relation @to_relation end |