Class: BELParser::Language::Version2_0::Relationships::HasComponent

Inherits:
Object
  • Object
show all
Extended by:
Relationship
Defined in:
lib/bel_parser/language/version2_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 =
<<-DOC
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.
DOC

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



48
49
50
# File 'lib/bel_parser/language/version2_0/relationships/has_component.rb', line 48

def self.description
  DESCRIPTION
end

.direct?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/bel_parser/language/version2_0/relationships/has_component.rb', line 52

def self.direct?
  true
end

.directed?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/bel_parser/language/version2_0/relationships/has_component.rb', line 56

def self.directed?
  true
end

.longObject



44
45
46
# File 'lib/bel_parser/language/version2_0/relationships/has_component.rb', line 44

def self.long
  LONG
end

.shortObject



40
41
42
# File 'lib/bel_parser/language/version2_0/relationships/has_component.rb', line 40

def self.short
  SHORT
end