Class: ONIX::AncillaryContent

Inherits:
SubsetDSL show all
Defined in:
lib/onix/ancillary_content.rb

Instance Attribute Summary

Attributes included from Attributes

#attributes

Low level collapse

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

Instance Method Details

#ancillary_content_descriptionsArray<String>

Returns:

  • (Array<String>)


4
# File 'lib/onix/ancillary_content.rb', line 4

elements "AncillaryContentDescription", :text, :cardinality => 0..n

#ancillary_content_typeAncillaryContentType



3
# File 'lib/onix/ancillary_content.rb', line 3

element "AncillaryContentType", :subset, :cardinality => 1

#numberInteger

Returns:

  • (Integer)


5
# File 'lib/onix/ancillary_content.rb', line 5

element "Number", :integer, :cardinality => 0..1