NAME
TBX::Min::TermGroup - Store information from one TBX-Min termGroup
element
VERSION
version 0.06
SYNOPSIS
use TBX::Min::TermGroup;
my $term_grp = TBX::Min::TermGroup->new(
{term => 'bat signal', status => "preferred"});
$term_grp->part_of_speech('noun');
$term_grp->customer('GCPD');
print $term_grp->term; # 'bat signal'
DESCRIPTION
This class represents a single term group contained in a TBX-Min file. A term group contains a single term and information pertaining to it, such as part of speech, a note, or the associated customer.
METHODS
new
Creates a new TBX::Min::TermGroup
instance. Optionally you may pass in a hash reference which is used to initialized the object. The fields of the hash correspond to the names of the accessor methods listed below.
term
Get or set the term text associated with this term group.
part_of_speech
Get or set the part of speech associated with this term group.
note
Get or set a note associated with this term group.
customer
Get or set a customer associated with this term group.
status
Get or set a status associated with this term group.
SEE ALSO
AUTHOR
Nathan Glenn <garfieldnate@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Alan Melby.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.