Sha256: a9c0f782769b8ca682d94805d0533a22f59c5d776eadd8b3b19fe92c0a3e345e

Contents?: true

Size: 1.87 KB

Versions: 104

Compression:

Stored size: 1.87 KB

Contents

require_relative '../../version2_0'
require_relative '../../relationship'

module BELParser
  module Language
    module Version2_0
      module Relationships
        # HasMembers:  +A hasMembers (B, C, D)+ -  The hasMembers
        # relationship is a special form which enables the assignment of
        # multiple member classes in a single statement where the object
        # of the statement is a set of abundance terms. A statement
        # using hasMembers is exactly equivalent to multiple hasMember
        # statements. A term may not appear in both the subject and
        # object of a of the same hasMembers statement. For the abundance
        # terms A, B, C and D, +A hasMembers B, C, D+ indicates that A
        # is defined by its member abundance classes B, C and D.
        class HasMembers
          extend Relationship

          SHORT       = :hasMembers
          LONG        = :hasMembers
          DESCRIPTION = ' +A hasMembers (B, C, D)+ -  The hasMembers
          elationship is a special form which enables the
          ssignment of multiple member classes in a single
          tatement where the object of the statement is a set
          f abundance terms. A statement using hasMembers
          s exactly equivalent to multiple hasMember
          tatements. A term may not appear in both the
          ubject and object of a of the same hasMembers
          tatement. For the abundance terms A, B, C and D,
          A hasMembers B, C, D+ indicates that A is defined
          y its member abundance classes B, C and D.'.freeze

          def self.short
            SHORT
          end

          def self.long
            LONG
          end

          def self.description
            DESCRIPTION
          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/version2_0/relationships/has_members.rb
bel_parser-1.0.8 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.7-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.7 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.6-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.6 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.5-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.5 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.4-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.4 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.3-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.3 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.2-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.2 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.1-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.1 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.0-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.0 lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.0.alpha.61-java lib/bel_parser/language/version2_0/relationships/has_members.rb
bel_parser-1.0.0.alpha.61 lib/bel_parser/language/version2_0/relationships/has_members.rb