]> git.mxchange.org Git - jfinancials-lib.git/blob - src/org/mxchange/addressbook/model/addressbook/Addressbook.java
Continued:
[jfinancials-lib.git] / src / org / mxchange / addressbook / model / addressbook / Addressbook.java
1 /*
2  * Copyright (C) 2015 Roland Haeder
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
16  */
17 package org.mxchange.addressbook.model.addressbook;
18
19 import java.io.Serializable;
20 import java.util.Calendar;
21 import org.mxchange.addressbook.model.addressbook.status.AddressbokStatus;
22 import org.mxchange.jusercore.model.user.User;
23
24 /**
25  * A POJI for addressbooks
26  * <p>
27  * @author Roland Haeder
28  */
29 public interface Addressbook extends Serializable {
30
31         /**
32          * Getter for id number
33          * <p>
34          * @return Id number
35          */
36         public Long getAddressbookId ();
37
38         /**
39          * Setter for id number
40          * <p>
41          * @param addressbookId Id number
42          */
43         public void setAddressbookId (final Long addressbookId);
44
45         /**
46          * Getter for addressbook creation timestamp
47          * <p>
48          * @return Addressbook creation timestamp
49          */
50         public Calendar getAddressbookCreated ();
51
52         /**
53          * Setter for addressbook creation timestamp
54          * <p>
55          * @param addressbookCreated Addressbook creation timestamp
56          */
57         public void setAddressbookCreated (final Calendar addressbookCreated);
58
59         /**
60          * Getter for addressbook's name
61          * <p>
62          * @return Addressbook's name
63          */
64         public String getAddressbookName ();
65
66         /**
67          * Setter for addressbook's name
68          * <p>
69          * @param addressbookName Addressbook's name
70          */
71         public void setAddressbookName (final String addressbookName);
72
73         /**
74          * Getter for addressbook status
75          * <p>
76          * @return Addressbook status
77          */
78         public AddressbokStatus getAddressbookStatus ();
79
80         /**
81          * Setter for addressbook status
82          * <p>
83          * @param addressbookStatus Addressbook status
84          */
85         public void setAddressbookStatus (final AddressbokStatus addressbookStatus);
86
87         /**
88          * Getter for addressbook's user (owner)
89          * <p>
90          * @return Addressbook's user (owner)
91          */
92         public User getAddressbookUser ();
93
94         /**
95          * Setter for addressbook's user (owner)
96          * <p>
97          * @param addressbookUser Addressbook's user (owner)
98          */
99         public void setAddressbookUser (final User addressbookUser);
100 }