]> git.mxchange.org Git - jcontacts-business-core.git/blob - src/org/mxchange/jcontactsbusiness/model/logo/Logo.java
Updated jar(s)
[jcontacts-business-core.git] / src / org / mxchange / jcontactsbusiness / model / logo / Logo.java
1 /*
2  * Copyright (C) 2016 - 2018 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.logo;
18
19 import java.io.Serializable;
20 import java.util.Date;
21 import org.mxchange.jusercore.model.user.User;
22
23 /**
24  * A POJI for business logos
25  * <p>
26  * @author Roland Häder<roland@mxchange.org>
27  */
28 public interface Logo extends Comparable<Logo>, Serializable {
29
30         /**
31          * Getter for logo's local file name
32          * <p>
33          * @return Logo's local file name
34          */
35         String getLogoFileName ();
36
37         /**
38          * Setter for logo's local file name
39          * <p>
40          * @param logoFileName Logo's local file name
41          */
42         void setLogoFileName (final String logoFileName);
43
44         /**
45          * Getter for logo's id number
46          * <p>
47          * @return Logo's id number
48          */
49         Long getLogoId ();
50
51         /**
52          * Setter for logo's id number
53          * <p>
54          * @param logoId Logo's id number
55          */
56         void setLogoId (final Long logoId);
57
58         /**
59          * Getter for user owner instance
60          * <p>
61          * @return User owner instance
62          */
63         User getLogoUploader ();
64
65         /**
66          * Setter for user owner instance
67          * <p>
68          * @param logoUploader User owner instance
69          */
70         void setLogoUploader (final User logoUploader);
71
72         /**
73          * Getter for timestamp when this entry has been created
74          * <p>
75          * @return Timestamp when this entry has been created
76          */
77         Date getLogoCreated ();
78
79         /**
80          * Setter for timestamp when this entry has been created
81          * <p>
82          * @param logoCreated Timestamp when this entry has been created
83          */
84         void setLogoCreated (final Date logoCreated);
85
86         @Override
87         boolean equals (final Object object);
88
89         @Override
90         int hashCode ();
91 }