Sha256: 2aad6b5669bf0aafa8f52a53ab55259175f5978527bd3a2f9707d73dbf73b295

Contents?: true

Size: 904 Bytes

Versions: 26

Compression:

Stored size: 904 Bytes

Contents

# This module is based on the UML,
# http://www.openehr.org/uml/release-1.0.1/Browsable/_9_5_1_76d0249_1140536622627_218703_7149Report.html
# Ticket refs #63
include OpenEHR::RM::DataTypes::Text
module OpenEHR
  module RM
    module Common
      module Directory
        class Folder < OpenEHR::RM::Common::Archetyped::Locatable
          attr_accessor :items
          attr_reader :folders

          def initialize(args = { })
            super(args)
            self.folders = args[:folders]
            self.items = args[:items]
          end

          def folders=(folders)
            raise ArgumentError, "empty subfolder" if !folders.nil? and folders.empty?
            @folders = folders
          end
        end        
        class VersionedFolder < OpenEHR::RM::Common::ChangeControl::VersionedObject
        end
      end # of Directory
    end # of Common
  end # of RM
end # of OpenEHR

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
openehr-1.2.8 lib/openehr/rm/common/directory.rb
openehr-1.2.7 lib/openehr/rm/common/directory.rb
openehr-1.2.6 lib/openehr/rm/common/directory.rb
openehr-1.2.5 lib/openehr/rm/common/directory.rb
openehr-1.2.4 lib/openehr/rm/common/directory.rb
openehr-1.2.3 lib/openehr/rm/common/directory.rb
openehr-1.2.2 lib/openehr/rm/common/directory.rb
openehr-1.2.1 lib/openehr/rm/common/directory.rb
openehr-1.2.0 lib/openehr/rm/common/directory.rb
openehr-1.1.6 lib/openehr/rm/common/directory.rb
openehr-1.1.5 lib/openehr/rm/common/directory.rb
openehr-1.1.4 lib/openehr/rm/common/directory.rb
openehr-1.1.3 lib/openehr/rm/common/directory.rb
openehr-1.1.2 lib/openehr/rm/common/directory.rb
openehr-1.1.1 lib/openehr/rm/common/directory.rb
openehr-1.1.0 lib/openehr/rm/common/directory.rb
open_ehr-1.0.2 lib/open_ehr/rm/common/directory.rb
open_ehr-1.0.1 lib/open_ehr/rm/common/directory.rb
open_ehr-1.0.0 lib/open_ehr/rm/common/directory.rb
open_ehr-0.9.5 lib/open_ehr/rm/common/directory.rb