The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Pangloss::Term - a word or phrase describing a concept.

SYNOPSIS

use Pangloss::Term;
my $term = new Pangloss::Term();

$term->status( Pangloss::Status->new->approved )
     ->name( $text )
     ->concept( $concept )
     ->language( $language )
     ->creator( $user )
     ->notes( $text )
     ->date( time )
     ->validate;

# catch Pangloss::Term::Errors

DESCRIPTION

In Pangloss, a term (or keyword) is a word or phrase that describes a particular Pangloss::Concept in a particular Pangloss::Language.

New terms are created with a Pangloss::Term::Status of pending.

This class inherits its interface from Pangloss::StoredObject::Common and Pangloss::Collection::Item.

METHODS

$obj->concept()

set/get Pangloss::Concept of this term.

$obj->language()

set/get Pangloss::Language of this term.

$obj->status()

set/get the Pangloss::Term::Status of this term.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss, Pangloss::Term::Error, Pangloss::Term::Status, Pangloss::Terms, Pangloss::Language, Pangloss::Concept, Pangloss::User