Class: BELParser::Language::Version1_0::Relationships::HasComponent

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version1_0/relationships/has_component.rb

Overview

HasComponent: A hasComponent A1 - For complexAbundance term A and abundance term B, A hasComponent B designates B as a component of A, that complexes that are instances of A have instances of B as possible components. Note that, the stoichiometry of A is not described, nor is it stated that B is a required component. The use of hasComponent relationships is complementary to the use of functionally composed complexes and is intended to enable the assignment of components to complexes designated by names in external vocabularies. The assignment of components can potentially enable the reconciliation of equivalent complexes at knowledge assembly time.

Constant Summary collapse

SHORT =
:hasComponent
LONG =
:hasComponent
DESCRIPTION =
' +A hasComponent A1+ -  For complexAbundance
erm A and abundance term B, +A hasComponent B+
esignates B as a component of A, that complexes
hat are instances of A have instances of B as
ossible components. Note that, the stoichiometry
f A is not described, nor is it stated that B
s a required component. The use of hasComponent
elationships is complementary to the use of
unctionally composed complexes and is intended to
nable the assignment of components to complexes
esignated by names in external vocabularies. The
ssignment of components can potentially enable
he reconciliation of equivalent complexes at
nowledge assembly time.'.freeze

Class Method Summary collapse

Methods included from Relationship

==, causal?, correlative?, decreasing?, deprecated?, description, direct?, directed?, genomic?, increasing?, indirect?, injected?, listable?, long, self?, short, to_h, to_s, to_sym

Class Method Details

.descriptionObject



47
48
49
# File 'lib/bel_parser/language/version1_0/relationships/has_component.rb', line 47

def self.description
  DESCRIPTION
end

.direct?Boolean

Returns:

  • (Boolean)


51
52
53
# File 'lib/bel_parser/language/version1_0/relationships/has_component.rb', line 51

def self.direct?
  true
end

.directed?Boolean

Returns:

  • (Boolean)


55
56
57
# File 'lib/bel_parser/language/version1_0/relationships/has_component.rb', line 55

def self.directed?
  true
end

.longObject



43
44
45
# File 'lib/bel_parser/language/version1_0/relationships/has_component.rb', line 43

def self.long
  LONG
end

.shortObject



39
40
41
# File 'lib/bel_parser/language/version1_0/relationships/has_component.rb', line 39

def self.short
  SHORT
end