PageRenderTime 15ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/v3.2/nimbits-tds/src/com/nimbits/client/model/connection/Connection.java

http://nimbits-server.googlecode.com/
Java | 62 lines | 23 code | 21 blank | 18 comment | 0 complexity | 3799205dd9a490216f3038def7d6688c MD5 | raw file
 1/*
 2 * Copyright (c) 2010 Tonic Solutions LLC.
 3 *
 4 * http://www.nimbits.com
 5 *
 6 *
 7 * Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
 8 *
 9 * http://www.gnu.org/licenses/gpl.html
10 *
11 * Unless required by applicable law or agreed to in writing, software distributed under the license is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
12 */
13
14package com.nimbits.client.model.connection;
15
16import com.nimbits.client.model.email.EmailAddress;
17
18import java.io.Serializable;
19import java.util.Date;
20
21/**
22 * Created by bsautner
23 * User: benjamin
24 * Date: 4/17/11
25 * Time: 12:53 PM
26 */
27public interface Connection extends Serializable {
28
29    long getRequestorID();
30
31    void setRequestorID(final long requestorID);
32
33    EmailAddress getTargetEmail();
34
35    void setTargetEmail(final EmailAddress targetEmail);
36
37    Date getRequestDate();
38
39    void setRequestDate(final Date requestDate);
40
41    Date getApprovedDate();
42
43    void setApprovedDate(final Date approvedDate);
44
45    String getUUID();
46
47    void setUUID(final String uUID);
48
49    Boolean getApproved();
50
51    void setApproved(final boolean approved);
52
53    Long getKey();
54
55    void setRequestorEmail(final EmailAddress requestorEmail);
56
57    EmailAddress getRequestorEmail();
58
59    void setRejected(final boolean rejected);
60
61    Boolean getRejected();
62}