Last change
on this file since 8609 was 8609, checked in by schweer, 20 years ago |
putting the alerting service servlet under version control
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
746 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * Created on Oct 27, 2004
|
---|
3 | * Copyright (C) Andrea Schweer, 2004
|
---|
4 | *
|
---|
5 | * This file is part of the Greenstone Alerting Service.
|
---|
6 | * Refer to the COPYING file in the base directory of this package
|
---|
7 | * for licensing information.
|
---|
8 | */
|
---|
9 | package org.greenstone.gsdlas.profiles;
|
---|
10 |
|
---|
11 | import java.util.List;
|
---|
12 | import java.util.Vector;
|
---|
13 |
|
---|
14 | /**
|
---|
15 | * @author schweer
|
---|
16 | *
|
---|
17 | * TODO To change the template for this generated type comment go to Window -
|
---|
18 | * Preferences - Java - Code Style - Code Templates
|
---|
19 | */
|
---|
20 | public class Profile {
|
---|
21 | private List subscriptions;
|
---|
22 |
|
---|
23 | private String user;
|
---|
24 |
|
---|
25 | public Profile(String user) {
|
---|
26 | this.user = user;
|
---|
27 | subscriptions = new Vector();
|
---|
28 | }
|
---|
29 |
|
---|
30 | public void add(Subscription sub) {
|
---|
31 | subscriptions.add(sub);
|
---|
32 | }
|
---|
33 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.