Steve Purkis > Pangloss-0.06 > Pangloss::Term

Download:
Pangloss-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

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

syntax highlighting: