[LIB-2] Add snooker-score-api source files
[snooker-score-api.git] / src / main / java / org / hedgecode / snooker / api / Event.java
1 /*
2  * Copyright (c) 2017. Developed by Hedgecode.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package org.hedgecode.snooker.api;
18
19 import java.util.Date;
20
21 /**
22  * Event Entity API Interface.
23  *
24  * @author Dmitry Samoshin aka gotty
25  */
26 public interface Event extends IdEntity {
27
28     int eventId();
29
30     String name();
31
32     Date startDate();
33
34     Date endDate();
35
36     String sponsor();
37
38     Season season();
39
40     String type();
41
42     int num();
43
44     String venue();
45
46     String city();
47
48     String country();
49
50     String discipline();
51
52     int mainEventId();
53
54     Event mainEvent();
55
56     String sex();
57
58     String ageGroup();
59
60     String url();
61
62     String related();
63
64     String stage();
65
66     String valueType();
67
68     String shortName();
69
70     int worldSnookerId();
71
72     String rankingType();
73
74     int eventPredictionId();
75
76     boolean team();
77
78     int format();
79
80     String twitter();
81
82     String hashTag();
83
84     float conversionRate();
85
86     boolean allRoundsAdded();
87
88     String photoUrls();
89
90     int numCompetitors();
91
92     int numUpcoming();
93
94     int numActive();
95
96     int numResults();
97
98     String note();
99
100     String commonNote();
101
102     int defendingChampion();
103
104     int previousEdition();
105
106 }