CopaServer
Change of Plan Application
 All Classes Functions Pages
Public Member Functions | List of all members
unicopa.copa.base.event.Event Class Reference

An event that can have multiple fixed dates (SingleEvents). More...

Collaboration diagram for unicopa.copa.base.event.Event:
Collaboration graph

Public Member Functions

 Event (int eventID, int eventGroupID, String eventName, List< Integer > categories)
 Create a new Event object. More...
 
int getEventID ()
 Get the ID of this event. More...
 
int getEventGroupID ()
 Get the ID of the group this event belongs to. More...
 
String getEventName ()
 Get the name of this event. More...
 
List< Integer > getCategories ()
 Get all categories associated with this event. More...
 

Detailed Description

An event that can have multiple fixed dates (SingleEvents).

Author
Felix Wiemuth

Constructor & Destructor Documentation

unicopa.copa.base.event.Event.Event ( int  eventID,
int  eventGroupID,
String  eventName,
List< Integer >  categories 
)

Create a new Event object.

Parameters
eventID
eventGroupID
eventName
categories

Member Function Documentation

List<Integer> unicopa.copa.base.event.Event.getCategories ( )

Get all categories associated with this event.

The categories are leaves of the category tree.

Returns
the IDs of all leaves of the category tree this event is associated with
int unicopa.copa.base.event.Event.getEventGroupID ( )

Get the ID of the group this event belongs to.

Returns
int unicopa.copa.base.event.Event.getEventID ( )

Get the ID of this event.

It is guaranteed to be unique under all available Event objects in use of the system.

Returns
String unicopa.copa.base.event.Event.getEventName ( )

Get the name of this event.

Returns

The documentation for this class was generated from the following file: