Class: ONIX::Publisher

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

Instance Attribute Summary

Attributes included from Attributes

#attributes

Low level collapse

Class Method Summary collapse

Methods inherited from Entity

entity_setup, identifier_class, identifier_tag, name_tag, prefix, role_class

Methods included from IdentifiersMethods::Gln

#gln, #gln_identifier

Methods inherited from SubsetDSL

element, elements, #get_class, get_class, inherited, #initialize, n, #parse, ref_to_short, register_elements, register_scopes, #register_subset_array, registered_elements, #registered_elements, registered_scopes, scope, short_to_ref

Methods inherited from Subset

parse, #parse, #tag_match, #unsupported

Methods included from Attributes

attribute_class, #parse_attributes, #serialized_attributes

Constructor Details

This class inherits a constructor from ONIX::SubsetDSL

Class Method Details

.role_tagObject

Note:

role tag is not PublisherRole but PublishingRole



79
80
81
# File 'lib/onix/entity.rb', line 79

def self.role_tag
  "PublishingRole"
end

Instance Method Details

#websitesArray<Website>

Returns:



84
# File 'lib/onix/entity.rb', line 84

elements "Website", :subset, :cardinality => 0..n