]> git.mxchange.org Git - jcontacts-business-core.git/blob - src/org/mxchange/jcontactsbusiness/model/opening_time/OpeningTime.java
Continued:
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / model / opening_time / OpeningTime.java
1 /*
2  * Copyright (C) 2016 - 2020 Free Software Foundation
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.jcontactsbusiness.model.opening_time;
18
19 import java.io.Serializable;
20 import java.util.Date;
21 import org.mxchange.jcontactsbusiness.model.opening_time.dayofweek.DayOfTheWeek;
22
23 /**
24  * A POJI for opening times
25  *
26  * @author Roland Häder<roland@mxchange.org>
27  */
28 public interface OpeningTime extends Comparable<OpeningTime>, Serializable {
29
30         /**
31          * Getter for opening time created timestamp
32          * <p>
33          * @return Opening time created timestamp
34          */
35         Date getOpeningTimeEntryCreated ();
36
37         /**
38          * Setter for opening time created timestamp
39          * <p>
40          * @param openingTimeEntryCreated Opening time created timestamp
41          */
42         void setOpeningTimeEntryCreated (final Date openingTimeEntryCreated);
43
44         /**
45          * Getter for opening time updated timestamp
46          * <p>
47          * @return Opening time updated timestamp
48          */
49         Date getOpeningTimeEntryUpdated ();
50
51         /**
52          * Setter for opening time updated timestamp
53          * <p>
54          * @param openingTimeEntryUpdated Opening time updated timestamp
55          */
56         void setOpeningTimeEntryUpdated (final Date openingTimeEntryUpdated);
57
58         /**
59          * Getter for id number
60          * <p>
61          * @return Id number
62          */
63         Long getOpeningTimeId ();
64
65         /**
66          * Setter for id number
67          * <p>
68          * @param openingTimeId Id number
69          */
70         void setOpeningTimeId (final Long openingTimeId);
71
72         /**
73          * Getter for starting day
74          * <p>
75          * @return Starting day
76          */
77         DayOfTheWeek getOpeningStartDay ();
78
79         /**
80          * Setter for starting day
81          * <p>
82          * @param openingStartDay Starting day
83          */
84         void setOpeningStartDay (final DayOfTheWeek openingStartDay);
85
86         /**
87          * Getter for ending day
88          * <p>
89          * @return Ending day
90          */
91         DayOfTheWeek getOpeningEndDay ();
92
93         /**
94          * Setter for ending day
95          * <p>
96          * @param openinhEndDay Ending day
97          */
98         void setOpeningEndDay (final DayOfTheWeek openinhEndDay);
99
100         /**
101          * Getter for starting time
102          * <p>
103          * @return Starting time
104          */
105         Date getOpeningStartTime ();
106
107         /**
108          * Setter for starting time
109          * <p>
110          * @param openingStartTime Starting time
111          */
112         void setOpeningStartTime (final Date openingStartTime);
113
114         /**
115          * Getter for ending time
116          * <p>
117          * @return Ending time
118          */
119         Date getOpeningEndTime ();
120
121         /**
122          * Setter for ending time
123          * <p>
124          * @param openingEndTime Ending time
125          */
126         void setOpeningEndTime (final Date openingEndTime);
127
128         @Override
129         boolean equals (final Object obj);
130
131         @Override
132         int hashCode ();
133
134 }