Sha256: f25b49bf084ab6687f17a85b34d96e4b1a3393137f1af445fbad0fe4066765f0

Contents?: true

Size: 1.92 KB

Versions: 104

Compression:

Stored size: 1.92 KB

Contents

require_relative '../../version1_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version1_0
      module Relationships
        # HasComponents:  +A hasComponents (B, C, D)+ -  The hasComponents
        # relationship is a special form which enables the assignment
        # of multiple complex components in a single statement where
        # the object of the statement is a set of abundance terms. A
        # statement using hasComponents is exactly equivalent to multiple
        # hasComponent statements. A term may not appear in both the
        # subject and object of the same hasComponents statement. For
        # the abundance terms A, B, C and D, +A hasComponents B, C, D+
        # indicates that A has components B, C and D.
        class HasComponents
          extend Relationship

          SHORT       = :hasComponents
          LONG        = :hasComponents
          DESCRIPTION = ' +A hasComponents (B, C, D)+ -  The hasComponents
          elationship is a special form which enables
          he assignment of multiple complex components
          n a single statement where the object of the
          tatement is a set of abundance terms. A statement
          sing hasComponents is exactly equivalent to
          ultiple hasComponent statements. A term may not
          ppear in both the subject and object of the same
          asComponents statement. For the abundance terms A,
          , C and D, +A hasComponents B, C, D+ indicates
          hat A has components B, C and D.'.freeze

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          end

          def self.direct?
            true
          end

          def self.directed?
            true
          end

          def self.listable?
            true
          end
        end
      end
    end
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
bel_parser-1.0.8-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.8 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.7-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.7 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.6-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.6 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.5-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.5 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.4-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.4 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.3-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.3 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.2-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.2 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.1-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.1 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.0-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.0 lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.0.alpha.61-java lib/bel_parser/language/version1_0/relationships/has_components.rb
bel_parser-1.0.0.alpha.61 lib/bel_parser/language/version1_0/relationships/has_components.rb