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

Inherits:
Archetyped::Locatable show all
Defined in:
lib/openehr/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.



15
16
17
18
19
# File 'lib/openehr/rm/common/directory.rb', line 15

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

Instance Attribute Details

#foldersObject

Returns the value of attribute folders.



13
14
15
# File 'lib/openehr/rm/common/directory.rb', line 13

def folders
  @folders
end

#itemsObject

Returns the value of attribute items.



12
13
14
# File 'lib/openehr/rm/common/directory.rb', line 12

def items
  @items
end