NAME

XML::NewsML_G2::Concept - a concept covered in the news item, taken from a standardized controlled vocabulary

SYNOPSIS

    my $mt = XML::NewsML_G2::Media_Topic->new
        (name => 'alpine skiing', qcode => 20001057);
    my $facet = XML::NewsML_G2::Facet->new
        (name => 'alpine skiing slalom',
         qcode => 'aspfacetvalue:slalom-alpineskiing'
        );
    my $concept = XML::NewsML_G2::Concept->new(main => $mt);
    $concept->add_facet($facet);

ATTRIBUTES

facets

Hash mapping qcodes to XML::NewsML_G2::Facet instances

METHODS

add_facet

Add a new XML::NewsML_G2::Facet instance

uid

Returns a generated unique id for this concept based on the qcodes of its main concept and its facets

AUTHOR

Christian Eder <christian.eder@apa.at>

LICENCE AND COPYRIGHT

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

See XML::NewsML_G2 for the license.