root / src / gr / grnet / pithos / web / client / Invitation.java @ b12da07a
History | View | Annotate | Download (2 kB)
1 | cae2a8db | Christos Stathis | /*
|
---|---|---|---|
2 | e6e9f6e6 | Christos KK Loverdos | * Copyright 2011-2013 GRNET S.A. All rights reserved.
|
3 | cae2a8db | Christos Stathis | *
|
4 | cae2a8db | Christos Stathis | * Redistribution and use in source and binary forms, with or
|
5 | cae2a8db | Christos Stathis | * without modification, are permitted provided that the following
|
6 | cae2a8db | Christos Stathis | * conditions are met:
|
7 | cae2a8db | Christos Stathis | *
|
8 | cae2a8db | Christos Stathis | * 1. Redistributions of source code must retain the above
|
9 | cae2a8db | Christos Stathis | * copyright notice, this list of conditions and the following
|
10 | cae2a8db | Christos Stathis | * disclaimer.
|
11 | cae2a8db | Christos Stathis | *
|
12 | cae2a8db | Christos Stathis | * 2. Redistributions in binary form must reproduce the above
|
13 | cae2a8db | Christos Stathis | * copyright notice, this list of conditions and the following
|
14 | cae2a8db | Christos Stathis | * disclaimer in the documentation and/or other materials
|
15 | cae2a8db | Christos Stathis | * provided with the distribution.
|
16 | cae2a8db | Christos Stathis | *
|
17 | cae2a8db | Christos Stathis | * THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
|
18 | cae2a8db | Christos Stathis | * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
19 | cae2a8db | Christos Stathis | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
20 | cae2a8db | Christos Stathis | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
|
21 | cae2a8db | Christos Stathis | * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
22 | cae2a8db | Christos Stathis | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
23 | cae2a8db | Christos Stathis | * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
24 | cae2a8db | Christos Stathis | * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
|
25 | cae2a8db | Christos Stathis | * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
26 | cae2a8db | Christos Stathis | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
|
27 | cae2a8db | Christos Stathis | * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
28 | cae2a8db | Christos Stathis | * POSSIBILITY OF SUCH DAMAGE.
|
29 | cae2a8db | Christos Stathis | *
|
30 | cae2a8db | Christos Stathis | * The views and conclusions contained in the software and
|
31 | cae2a8db | Christos Stathis | * documentation are those of the authors and should not be
|
32 | cae2a8db | Christos Stathis | * interpreted as representing official policies, either expressed
|
33 | cae2a8db | Christos Stathis | * or implied, of GRNET S.A.
|
34 | cae2a8db | Christos Stathis | */
|
35 | 6b48912a | Christos Stathis | package gr.grnet.pithos.web.client; |
36 | 6b48912a | Christos Stathis | |
37 | 6b48912a | Christos Stathis | public class Invitation { |
38 | 6b48912a | Christos Stathis | private boolean accepted; |
39 | 6b48912a | Christos Stathis | private String realname; |
40 | 6b48912a | Christos Stathis | private String email; |
41 | 6b48912a | Christos Stathis | |
42 | 6b48912a | Christos Stathis | public Invitation(boolean accepted, String realname, String email) { |
43 | 6b48912a | Christos Stathis | this.accepted = accepted;
|
44 | 6b48912a | Christos Stathis | this.realname = realname;
|
45 | 6b48912a | Christos Stathis | this.email = email;
|
46 | 6b48912a | Christos Stathis | } |
47 | 6b48912a | Christos Stathis | |
48 | 6b48912a | Christos Stathis | public boolean isAccepted() { |
49 | 6b48912a | Christos Stathis | return accepted;
|
50 | 6b48912a | Christos Stathis | } |
51 | 6b48912a | Christos Stathis | |
52 | 6b48912a | Christos Stathis | public String getRealname() { |
53 | 6b48912a | Christos Stathis | return realname;
|
54 | 6b48912a | Christos Stathis | } |
55 | 6b48912a | Christos Stathis | |
56 | 6b48912a | Christos Stathis | public String getEmail() { |
57 | 6b48912a | Christos Stathis | return email;
|
58 | 6b48912a | Christos Stathis | } |
59 | 6b48912a | Christos Stathis | } |