Class: ONIX::Agent

Inherits:
Entity show all
Defined in:
lib/onix/entity.rb

Instance Attribute Summary

Attributes inherited from Entity

#identifiers, #name, #role

Class Method Summary collapse

Methods inherited from Entity

identifier_tag, #initialize, name_tag, #parse, role_tag

Methods included from GlnMethods

#gln, #gln_identifier

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported

Methods inherited from Subset

parse, #parse, tag_match, #tag_match, #unsupported

Constructor Details

This class inherits a constructor from ONIX::Entity

Class Method Details

.identifier_classObject



71
72
73
# File 'lib/onix/entity.rb', line 71

def self.identifier_class
  AgentIdentifier
end

.prefixObject



67
68
69
# File 'lib/onix/entity.rb', line 67

def self.prefix
  "Agent"
end

.role_classObject



75
76
77
# File 'lib/onix/entity.rb', line 75

def self.role_class
  AgentRole
end