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

A group of Events. More...

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

Public Member Functions

 EventGroup (int eventGroupID, String eventGroupName, String eventGroupInfo, List< Integer > categories)
 Create a new EventGroup object. More...
 
int getEventGroupID ()
 Get the ID of this group. More...
 
String getEventGroupName ()
 Get the name of this group. More...
 
String getEventGroupInfo ()
 Get a description of this group. More...
 
List< Integer > getCategories ()
 Get all categories associated with this group. More...
 

Detailed Description

A group of Events.

Similiar events can be grouped, e.g. to be listed together in a query.

Author
Felix Wiemuth

Constructor & Destructor Documentation

unicopa.copa.base.event.EventGroup.EventGroup ( int  eventGroupID,
String  eventGroupName,
String  eventGroupInfo,
List< Integer >  categories 
)

Create a new EventGroup object.

Parameters
eventGroupID
eventGroupName
eventGroupInfo
categories

Member Function Documentation

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

Get all categories associated with this group.

The categories are leaves of the category tree.

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

Get the ID of this group.

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

Returns
String unicopa.copa.base.event.EventGroup.getEventGroupInfo ( )

Get a description of this group.

Returns
String unicopa.copa.base.event.EventGroup.getEventGroupName ( )

Get the name of this group.

Returns

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