Class: OpenEHR::RM::Common::Directory::Folder

Inherits:
Archetyped::Locatable show all
Defined in:
lib/open_ehr/rm/common/directory.rb

Constant Summary

Constants included from Archetyped::LocaterConstants

Archetyped::LocaterConstants::CONTENT_PATH_SEPARATOR, Archetyped::LocaterConstants::CURRENT_TRANSACTION_ID, Archetyped::LocaterConstants::FRAGMENT_SEPARATOR, Archetyped::LocaterConstants::MULTIPART_ID_DELIMITER, Archetyped::LocaterConstants::ORGANIZER_PATH_SEPARATOR

Instance Attribute Summary collapse

Attributes inherited from Archetyped::Locatable

#archetype_details, #archetype_node_id, #feeder_audit, #links, #name, #uid

Attributes inherited from Archetyped::Pathable

#parent

Instance Method Summary collapse

Methods inherited from Archetyped::Locatable

#concept, #is_archetype_root?

Methods inherited from Archetyped::Pathable

#item_at_path, #items_at_path, #path_exists?, #path_of_item, #path_unique?

Constructor Details

#initialize(args = { }) ⇒ Folder

Returns a new instance of Folder.



13
14
15
16
17
# File 'lib/open_ehr/rm/common/directory.rb', line 13

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

Instance Attribute Details

#foldersObject

Returns the value of attribute folders.



11
12
13
# File 'lib/open_ehr/rm/common/directory.rb', line 11

def folders
  @folders
end

#itemsObject

Returns the value of attribute items.



10
11
12
# File 'lib/open_ehr/rm/common/directory.rb', line 10

def items
  @items
end