Liz::EventSet::Event - module for Event objects of the EventSet
use Liz::EventSet; $eventset = new Liz::EventSet;
$event = $eventset->Event; $event = $eventset->Event( $eventID );
$event->update;
Provide object oriented access to events in a EventSet. Usually not accessed directly, but rather through the Liz::EventSet object and its Event method.
Create a new Event object from a EventSet object.
1 Liz::EventSet object 2 ID to created Event object with (default: none = new event)
1 instantiated object
It is not intended to call this method directly, but rather indirectly through the Liz::EventSet module.
$eventset = new Liz::EventSet; $event = $eventset->Event; $event = $eventset->Event( $eventID );
Update a Event object in the Liz::EventSet database.
1 ID with which the object was updated (undef = error)
$eventID = $event->update;
Delete a Liz::EventSet::Event object from the database.
1 flag: whether action was successful
$event->delete;
The following methods allow you to inspect and/or change certain fields of the Liz::EventSet::Event object.
Return the Created timestamp of the Liz::EventSet::Event object.
1 current timestamp value of the Created date
$created = $event->Created;
Return or set the Description of the Liz::EventSet::Event object.
1 new description (default: no change)
1 current/old description
$event->Description( $description ); $description = $event->Description;
Return the ID of the Liz::EventSet::Event object.
1 current ID of the object
$ID = $event->ID;
Return the IP-number from where the Liz::EventSet::Event object was created or last changed.
1 IP-number from which created or last changed
$IP = $event->IP;
Return or set the Options information of the Liz::EventSet::Event object.
1 new name value of the Options (default: no change)
1 current/old name value of the Options
$event->Options( $options ); $options = $event->Options;
Return or set the OriginatorID of the Liz::EventSet::Event object.
1 new originatorID (default: no change)
1 current/old originatorID
$event->OriginatorID( $originatorID ); $originatorID = $event->OriginatorID;
Return or set the Status information of the Liz::EventSet::Event object.
1 new value of the Status (default: no change)
1 current/old value of the Status
$event->Status( $status ); $status = $event->Status;
Return the Updated timestamp of the Liz::EventSet::Event object.
1 current timestamp value of the Updated date
$updated = $event->Updated;
Elizabeth Mattijsen ( lizperl@INC.nl )
(C) 1998-1999 International Network Consultants
Now no longer adds Exporter to ISA: it wasn't necessary.
Changed methods new and update so that any extra fields are also correctly handled.
Changed to new source typography.
Fixed problem in method update which would not return the ID of the object if the object was not changed.
First version of this true Perl module. Copied from the Liz::FileSet::File module.