NAME

XML::NewsML_G2::Role::HasQCode - Role for item types that have a QCode

SYNOPSIS

    my $desk = XML::NewsML_G2::Desk->new
        (name => 'Sports', qcode => 'spo');

DESCRIPTION

This module serves as a role for all NewsML-G2 item type classes which have a qcode (and a human readable name)

ATTRIBUTES

name

A string containing the name of the item

qcode

The right part of an IPTC compliant QCode

AUTHOR

Philipp Gortan <philipp.gortan@apa.at> Christian Eder <christian.eder@apa.at>

LICENCE AND COPYRIGHT

Copyright (c) 2013-2019, APA-IT. All rights reserved.

See XML::NewsML_G2 for the license.