Add OpenXava
42
Brouillon/Diagramme_sequences/diag_sequence
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
SequenceDiagram {
|
||||||
|
actor parieur
|
||||||
|
lifeline siteweb
|
||||||
|
lifeline serveur autoactivate
|
||||||
|
entity "Base de donnée" as bdd autoactivate
|
||||||
|
parieur --> siteweb "login"
|
||||||
|
activate siteweb
|
||||||
|
siteweb --> serveur "transferer données de input"
|
||||||
|
serveur --> bdd "rechercher données de user"
|
||||||
|
|
||||||
|
|
||||||
|
fragment alt "[Bon mdp et user]" {
|
||||||
|
bdd -r-> serveur "Charger user données "
|
||||||
|
serveur -r-> siteweb "login réussi"
|
||||||
|
siteweb -r-> parieur "Bienvenue au FDJ"
|
||||||
|
parieur --> siteweb "Parier"
|
||||||
|
siteweb --> serveur "Le client veut parier"
|
||||||
|
serveur -r-> siteweb "Demande événement"
|
||||||
|
siteweb -r-> parieur "Choissiez un événement"
|
||||||
|
parieur --> siteweb "Donner information"
|
||||||
|
siteweb --> serveur "Evenement choisi"
|
||||||
|
serveur -r-> siteweb "Demande montant"
|
||||||
|
siteweb -r-> parieur "Combien vous voulez parier?"
|
||||||
|
parieur --> siteweb "Donner le montant"
|
||||||
|
siteweb --> serveur "L'agrent que clien a parié"
|
||||||
|
serveur --> serveur "Débiter"
|
||||||
|
serveur -r-> siteweb " Afficher nouveau montant"
|
||||||
|
siteweb -r-> parieur "Mis à jour le portefeuille"
|
||||||
|
|
||||||
|
fragment alt "[Gagné]" {
|
||||||
|
serveur --> serveur "Nouveau montant pour client"
|
||||||
|
serveur -r-> siteweb "Motant gagné"
|
||||||
|
siteweb -r-> parieur "Félicitation"
|
||||||
|
case "[Perdu]"
|
||||||
|
serveur -r-> siteweb "Motant perdu"
|
||||||
|
siteweb -r-> parieur "Dommage"
|
||||||
|
}
|
||||||
|
case "[Mdp ou nom est faux]"
|
||||||
|
serveur -r-> siteweb "login incorrect"
|
||||||
|
siteweb -r-> parieur "Faux mdp ou user"
|
||||||
|
}
|
||||||
|
}
|
||||||
BIN
Brouillon/Diagramme_sequences/dotuml.png
Normal file
|
After Width: | Height: | Size: 577 KiB |
BIN
DotUML/Diagramme_class/dotuml.png
Normal file
|
After Width: | Height: | Size: 560 KiB |
BIN
DotUML/Diagramme_etats/dotuml.png
Normal file
|
After Width: | Height: | Size: 96 KiB |
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 92 KiB |
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 66 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |
|
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 98 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 62 KiB |
6
Generateur/tested/Basket.java
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
@Entity
|
||||||
|
public class Basket extends Sport {
|
||||||
|
@Embedded
|
||||||
|
public Collection<QuartTemps> quarttempss ;
|
||||||
|
|
||||||
|
}
|
||||||
9
Generateur/tested/Bookmaker.java
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
@Entity
|
||||||
|
public class Bookmaker {
|
||||||
|
@OneToMany (mappedBy= "bookmaker")
|
||||||
|
public Collection<Pari> paris;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private void crediterParieur(pari:Pari) {}
|
||||||
|
|
||||||
|
}
|
||||||
4
Generateur/tested/CourseDeChevaux.java
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
@Entity
|
||||||
|
public class CourseDeChevaux extends Sport {
|
||||||
|
|
||||||
|
}
|
||||||
7
Generateur/tested/DataSource.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@Entity
|
||||||
|
public class DataSource {
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Data misesàjourData() {}
|
||||||
|
|
||||||
|
}
|
||||||
6
Generateur/tested/Football.java
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
@Entity
|
||||||
|
public class Football extends Sport {
|
||||||
|
@Embedded
|
||||||
|
public Collection<MiTemps> mitempss ;
|
||||||
|
|
||||||
|
}
|
||||||
7
Generateur/tested/MiTemps.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@Embeddable
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer numéro_mitemps ;
|
||||||
|
|
||||||
|
}
|
||||||
29
Generateur/tested/Pari.java
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
@Entity
|
||||||
|
public class Pari {
|
||||||
|
@ManyToOne
|
||||||
|
public Bookmaker bookmaker;One
|
||||||
|
@ManyToOne
|
||||||
|
public Parieur parieur;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer pari_ID ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Parieur Parieur ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Événement Événement ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String TypePari ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String RésultatParié ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Float Montant ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Float Cote ;
|
||||||
|
|
||||||
|
}
|
||||||
12
Generateur/tested/PariAvancé.java
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
@Entity
|
||||||
|
public class PariAvancé extends Pari {
|
||||||
|
@ManyToOne
|
||||||
|
public Événement événement;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String Type ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String Intervalle ;
|
||||||
|
|
||||||
|
}
|
||||||
18
Generateur/tested/PariSimple.java
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
@Entity
|
||||||
|
public class PariSimple extends Pari {
|
||||||
|
@ManyToOne
|
||||||
|
public Événement événement;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String Issue ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Datetime HeureLimite ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer PointsAvanceÉquipe1 ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer PointsAvanceÉquipe2 ;
|
||||||
|
|
||||||
|
}
|
||||||
21
Generateur/tested/Parieur.java
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
@Entity
|
||||||
|
public class Parieur {
|
||||||
|
@OneToMany (mappedBy= "parieur")
|
||||||
|
public Collection<Pari> paris;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer parieur_ID ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String aprieur_Nom ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Float Solde ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer capital_jetons ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private void placerUnPari() {}
|
||||||
|
|
||||||
|
}
|
||||||
24
Generateur/tested/Participant.java
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
@Entity
|
||||||
|
public class Participant {
|
||||||
|
@ManyToOne
|
||||||
|
public Événement événement;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer participant_ID ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String aprticipant_Nom ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String PArticipant_Type ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer getID() {}
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String getNom() {}
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String getType() {}
|
||||||
|
|
||||||
|
}
|
||||||
7
Generateur/tested/QuartTemps.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@Embeddable
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer numéro_quarttemps ;
|
||||||
|
|
||||||
|
}
|
||||||
7
Generateur/tested/Sets.java
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
@Embeddable
|
||||||
|
public class Sets {
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer numéro_set ;
|
||||||
|
|
||||||
|
}
|
||||||
12
Generateur/tested/Sport.java
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
@Entity
|
||||||
|
public class Sport {
|
||||||
|
@OneToOne
|
||||||
|
public Événement événement
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String sport_Nom ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String getNom() {}
|
||||||
|
|
||||||
|
}
|
||||||
6
Generateur/tested/Tennis.java
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
@Entity
|
||||||
|
public class Tennis extends Sport {
|
||||||
|
@Embedded
|
||||||
|
public Collection<Sets> setss ;
|
||||||
|
|
||||||
|
}
|
||||||
39
Generateur/tested/Événement.java
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
@Entity
|
||||||
|
public class Événement {
|
||||||
|
@OneToMany (mappedBy= "événement")
|
||||||
|
public Collection<PariAvancé> pariavancés;
|
||||||
|
@OneToMany (mappedBy= "événement")
|
||||||
|
public Collection<PariSimple> parisimples;
|
||||||
|
@OneToMany (mappedBy= "événement")
|
||||||
|
public Collection<Participant> participants;
|
||||||
|
@OneToOne
|
||||||
|
public Sport sport
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer event_ID ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String evennt_Nom ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Date Date ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String Sport ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer Numéro_période ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String Score ;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Integer getID() {}
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private String getNom() {}
|
||||||
|
|
||||||
|
@Column
|
||||||
|
private Date getDate() {}
|
||||||
|
|
||||||
|
}
|
||||||
0
DotUML/diag_states/.gitkeep → OpenXAVA/workspace/.metadata/.lock
Normal file → Executable file
6633
OpenXAVA/workspace/.metadata/.log
Executable file
@@ -0,0 +1,62 @@
|
|||||||
|
#MyEclipse Usage Data
|
||||||
|
#Sun Mar 24 22:35:58 CET 2024
|
||||||
|
devstyle/state/iconsColor/pastel=1
|
||||||
|
misc/arch=x86_64
|
||||||
|
bundle/com.genuitec.eclipse.startup.workspace=25
|
||||||
|
bundle/com.genuitec.eclipse.theming.ui=25
|
||||||
|
bundle/com.genuitec.eclipse.theming.elevation.win32=-1
|
||||||
|
view/org.eclipse.ui.console.ConsoleView=5
|
||||||
|
bundle/com.genuitec.eclipse.theming.css=-1
|
||||||
|
view/org.eclipse.ui.navigator.ProjectExplorer=2
|
||||||
|
misc/timestamp=Mar 24, 2024, 9\:35\:58 PM
|
||||||
|
editor/org.eclipse.jdt.ui.CompilationUnitEditor=214
|
||||||
|
bundle/com.genuitec.eclipse.theming.scrollbar=-1
|
||||||
|
perspective/org.eclipse.jdt.ui.JavaPerspective.<Java>=15
|
||||||
|
misc/eclipseVersion/4.24.0.I20220607-0700=1
|
||||||
|
bundle/com.genuitec.eclipse.theming.base=-1
|
||||||
|
devstyle/state/iconsColor/primary=1
|
||||||
|
bundle/com.genuitec.eclipse.inlinesearch=25
|
||||||
|
bundle/com.genuitec.eclipse.monitor=25
|
||||||
|
devstyle/state/enabled=1
|
||||||
|
bundle/com.genuitec.eclipse.webclipse.evergreen=25
|
||||||
|
bundle/com.genuitec.eclipse.news=-1
|
||||||
|
misc/eclipseVersion/4.23.0.I20220308-0310=1
|
||||||
|
bundle/com.genuitec.eclipse.theming.scrollbar.win=-1
|
||||||
|
misc/period=24706051
|
||||||
|
devstyle/state/iconsColor/grayscale=1
|
||||||
|
perspective/org.eclipse.ui.resourcePerspective=5
|
||||||
|
devstyle/state/inlinesearch=1
|
||||||
|
bundle/com.genuitec.eclipse.ui.common.platform=73
|
||||||
|
misc/count=73
|
||||||
|
view/org.eclipse.ui.views.ProblemView=1
|
||||||
|
editor/org.eclipse.ui.browser.editor=13
|
||||||
|
editor/org.eclipse.ui.DefaultTextEditor=4
|
||||||
|
bundle/com.genuitec.eclipse.meexplorer=25
|
||||||
|
misc/productType/devstyle=1
|
||||||
|
misc/os=linux
|
||||||
|
editor/org.eclipse.ui.systemInPlaceEditor=1
|
||||||
|
bundle/com.genuitec.eclipse.meexplorer.jdt=25
|
||||||
|
devstyle/state/workbenchColor/Dark_Gray=1
|
||||||
|
view/org.eclipse.jdt.ui.PackageExplorer=200
|
||||||
|
bundle/com.genuitec.eclipse.webicons=73
|
||||||
|
misc/core_version=<unknown>
|
||||||
|
misc/installmode/stable=0
|
||||||
|
bundle/com.genuitec.eclipse.core.common.rss=-1
|
||||||
|
devstyle/state/editorColor/Darkest_Dark=1
|
||||||
|
misc/ws=gtk
|
||||||
|
view/org.eclipse.jdt.junit.ResultView=1
|
||||||
|
bundle/com.genuitec.eclipse.patches=73
|
||||||
|
bundle/com.genuitec.eclipse.startup=25
|
||||||
|
devstyle/state/editorColor/IntelliJ_IDEA_Dark=1
|
||||||
|
misc/eclipseVersion/4.18.0.I20201202-1800=1
|
||||||
|
bundle/com.genuitec.eclipse.theming.base.win=-1
|
||||||
|
misc/installmode/standalone=0
|
||||||
|
misc/locale=en_US
|
||||||
|
misc/workspace_hash=1254134561
|
||||||
|
perspective/org.eclipse.jdt.ui.JavaPerspective=33
|
||||||
|
editor/org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart=2
|
||||||
|
bundle/com.genuitec.eclipse.theming.epl=-1
|
||||||
|
bundle/com.genuitec.eclipsecolortheme.api=73
|
||||||
|
bundle/com.genuitec.eclipse.theming.core=26
|
||||||
|
bundle/com.genuitec.eclipse.core.common.platform=73
|
||||||
|
misc/product/org.eclipse.platform.ide=1
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2014, 2022 Andrea Guarinoni and others.
|
||||||
|
* All rights reserved. This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License 2.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* https://www.eclipse.org/legal/epl-2.0/
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: EPL-2.0
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Andrea Guarinoni - initial API and implementation
|
||||||
|
* Fabio Zadrozny - Bug 465672 - EGit staging view and commit page are not properly styled
|
||||||
|
* Lars Vogel <Lars.Vogel@vogella.com> - Bug 466486
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
/* ############################## EGIT preferences ############################## */
|
||||||
|
|
||||||
|
/* See bug 466075 about the pseudo-selector ":org-eclipse-egit-ui" */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The default e4_dark_partstyle.css has .MPart Composite > StyledText with a lighter background.
|
||||||
|
* Override this with a more specific selector.
|
||||||
|
*/
|
||||||
|
.MPart Composite > StyledText.org-eclipse-egit-ui-CommitAndDiffComponent {
|
||||||
|
background-color: inherit;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Use a darker background for the tables in the Git history page. The default dark theme assigns
|
||||||
|
* a slightly lighter background otherwise; we want the default background color as is used for
|
||||||
|
* other views (#272c30; decimal 39,44,48).
|
||||||
|
*/
|
||||||
|
Table.org-eclipse-egit-ui-GitHistoryPage {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Same for the staged/unstaged tree viewers in the staging view.
|
||||||
|
*/
|
||||||
|
.MPart Section Tree.org-eclipse-egit-ui-StagingView {
|
||||||
|
background-color: inherit;
|
||||||
|
}
|
||||||
@@ -0,0 +1,59 @@
|
|||||||
|
|
||||||
|
|
||||||
|
.MarketplaceViewer,
|
||||||
|
.MarketplaceViewer > *,
|
||||||
|
.MarketplaceItem,
|
||||||
|
.MarketplaceItem * {
|
||||||
|
background-color: #32393e;
|
||||||
|
color: #d8dcdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.MarketplaceItem Link {
|
||||||
|
color: #86939c;
|
||||||
|
}
|
||||||
|
.MarketplaceItem .disabled {
|
||||||
|
color: #a0aab1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.TagsToolTip,
|
||||||
|
.TagsToolTip * {
|
||||||
|
background-color: #49535a;
|
||||||
|
color: #d8dcdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.NotificationItem,
|
||||||
|
.NotificationItem * {
|
||||||
|
background-color: #4d5c6c;
|
||||||
|
color: #9ac9d8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.CatalogSwitcher,
|
||||||
|
.CatalogSwitcher > ScrolledComposite,
|
||||||
|
.CatalogSwitcher > ScrolledComposite > *,
|
||||||
|
.Catalog,
|
||||||
|
.Catalog > * {
|
||||||
|
background-color: #32393e;
|
||||||
|
color: #d8dcdf;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Catalog:checked,
|
||||||
|
.Catalog:checked > * {
|
||||||
|
background-color: COLOR-LIST-SELECTION;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MarketplacePage CTabItem:selected,
|
||||||
|
#MarketplaceContent,
|
||||||
|
.MarketplaceSearchHeader,
|
||||||
|
.MarketplaceSearchHeader > Label {
|
||||||
|
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
|
||||||
|
}
|
||||||
|
|
||||||
|
#MarketplacePage CategoryItem,
|
||||||
|
#MarketplacePage CategoryItem > GradientCanvas,
|
||||||
|
#MarketplacePage CategoryItem > GradientCanvas > Label {
|
||||||
|
/* SWT-BUG workaround: a style for background is not applied on GradientCanvas (CSS engine repaint issue) */
|
||||||
|
background: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
|
||||||
|
background-image: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
|
||||||
|
background-color: '#org-eclipse-ui-workbench-ACTIVE_TAB_BG_END';
|
||||||
|
color: #d8dcdf;
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2014, 2020 Lars Vogel and others.
|
||||||
|
*
|
||||||
|
* This program and the accompanying materials
|
||||||
|
* are made available under the terms of the Eclipse Public License 2.0
|
||||||
|
* which accompanies this distribution, and is available at
|
||||||
|
* https://www.eclipse.org/legal/epl-2.0/
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: EPL-2.0
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Lars Vogel <Lars.Vogel@gmail.com> - initial API and implementation
|
||||||
|
* Andrea Guarinoni <andrea.guarinoni@gmail.com> - intial color schema definition
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
/* ############################## JDT syntax highlighting ############################## */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
BulletListBlock > StyledText {
|
||||||
|
background-color: #394146;
|
||||||
|
color: #b3bbc1;
|
||||||
|
}
|
||||||
|
|
||||||
|
FormatterPreferenceSectionComposite {
|
||||||
|
background-color:#49535a;
|
||||||
|
color:#ebedef;
|
||||||
|
swt-titlebar-color: #c7cdd1;
|
||||||
|
}
|
||||||
|
|
||||||
|
#BreadcrumbComposite > Composite,
|
||||||
|
#BreadcrumbItemComposite,
|
||||||
|
#BreadcrumbItemDetailComposite,
|
||||||
|
#BreadcrumbItemDetailTextComposite,
|
||||||
|
#BreadcrumbItemDetailImageComposite,
|
||||||
|
#BreadcrumbItemDetailTextLabel,
|
||||||
|
#BreadcrumbItemDetailImageLabel,
|
||||||
|
#BreadcrumbItemDropDownToolBar
|
||||||
|
{
|
||||||
|
/*
|
||||||
|
* Bug 465666
|
||||||
|
*
|
||||||
|
* Note: as we can't change the arrow to black, we configure
|
||||||
|
* the background with the lighter color used for the background
|
||||||
|
* of toolbars and make the foreground color brighter too.
|
||||||
|
*/
|
||||||
|
background-color:#49535a;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#org-eclipse-ui-splash-progressText {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
#org-eclipse-ui-splash-progressPart {
|
||||||
|
background-image: url('me-custom:/platform:/plugin/org.eclipse.platform/splash.bmp');
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class PariSimple extends Pari {
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
String Issue;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
DateTime HeureLimite;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
Integer pointsAvanceequipe1;
|
||||||
|
@Required @Column
|
||||||
|
Integer pointsAvanceequipe2;
|
||||||
|
}
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Pari {
|
||||||
|
|
||||||
|
@Id @Required @Column
|
||||||
|
Integer pari_ID;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
Parieur parieur;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String TypePari;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String RésultatParié;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Float Montant;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Float Cote;
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.yourcompany.bmo.model.Sports;
|
||||||
|
|
||||||
|
public class Basket {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Sport {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String sport_Nom;
|
||||||
|
|
||||||
|
@OneToMany (mappedBy="sport")
|
||||||
|
private Collection<Evenement> evenements;
|
||||||
|
|
||||||
|
public String getNom() {
|
||||||
|
return this.sport_Nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Sets {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_set;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Bookmarker {
|
||||||
|
|
||||||
|
public void crediterParieur(Pari pari){}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Sport {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String sport_Nom;
|
||||||
|
|
||||||
|
public String getNom() {
|
||||||
|
return this.sport_Nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.yourcompany.bmo.model.Dans_match;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Sets {
|
||||||
|
@Column
|
||||||
|
public int numéro_set;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
public class QuartTemps {
|
||||||
|
@Column
|
||||||
|
private int numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
public class Sport {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Sets {
|
||||||
|
@Column
|
||||||
|
private int numéro_set;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class Sets {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_set;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
import java.sql.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Evenement {
|
||||||
|
|
||||||
|
@Id @Required @Column
|
||||||
|
Integer event_ID;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
String event_Nom;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
Date date;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String sport_Nom;
|
||||||
|
|
||||||
|
public String getNom() {
|
||||||
|
return this.sport_Nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
@Column(length=50) @Required
|
||||||
|
Integer numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
@Column(length=50) @Required
|
||||||
|
public int numéro_mitemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
import org.openxava.model.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
@Column(length=50) @Required
|
||||||
|
Integer numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
public class QuartTemps {
|
||||||
|
@Column
|
||||||
|
private int numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
public class Tennis {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
@Column(length=50)
|
||||||
|
public int numéro_mitemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Bookmarker {
|
||||||
|
|
||||||
|
@OneToMany (mappedBy="bookmarker")
|
||||||
|
private Collection<Pari> paris;
|
||||||
|
|
||||||
|
|
||||||
|
public void crediterParieur(Pari pari){}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.yourcompany.bmo.model.Dans_match;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
@Column
|
||||||
|
public int numéro_mitemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,33 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import java.sql.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Evenement {
|
||||||
|
|
||||||
|
@Id @Required @Column
|
||||||
|
Integer event_ID;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
String event_Nom;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
Date date;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String sport_Nom;
|
||||||
|
|
||||||
|
public String getNom() {
|
||||||
|
return this.sport_Nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Bookmaker {
|
||||||
|
|
||||||
|
@OneToMany (mappedBy="bookmarker")
|
||||||
|
private Collection<Pari> paris;
|
||||||
|
|
||||||
|
|
||||||
|
public void crediterParieur(Pari pari){}
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Parieur {
|
||||||
|
|
||||||
|
@Id @Required @Column
|
||||||
|
Integer parieur_ID;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
String parieur_Nom;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Float Solde;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
Integer capital_jetons;
|
||||||
|
|
||||||
|
|
||||||
|
@OneToMany (mappedBy="parieur")
|
||||||
|
private Collection<Pari> paris;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
package com.yourcompany.bmo.model.Dans_match;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class MiTemps {
|
||||||
|
@Column
|
||||||
|
public int numéro_mitemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Basket extends Sport {
|
||||||
|
|
||||||
|
@Embedded
|
||||||
|
Collection <QuartTemps>
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class Sets {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_set;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Sets {
|
||||||
|
@Column
|
||||||
|
private int numéro_set;
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
package com.yourcompany.bmo.model.Dans_match;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
@Column(length=50)
|
||||||
|
public int numéro_mitemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class MiTemps {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
public class PariAvancé {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Basket extends Sport {
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Basket extends Sport {
|
||||||
|
|
||||||
|
@Embedded
|
||||||
|
public Collection<QuartTemps> quarttemps;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Integer numéro_mitemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
@Column(length=50) @Required
|
||||||
|
Integer numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class QuartTemps {
|
||||||
|
@Column
|
||||||
|
private int numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
import org.openxava.model.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class QuartTemps extends Identifiable {
|
||||||
|
@Column(length=50) @Required
|
||||||
|
public Integer numéro_quarttemps;
|
||||||
|
}
|
||||||
@@ -0,0 +1,50 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class Evenement {
|
||||||
|
|
||||||
|
@Id @Required @Column
|
||||||
|
Integer event_ID;
|
||||||
|
|
||||||
|
@Required @Column
|
||||||
|
String event_Nom;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
Date date;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
Integer numéro_période;
|
||||||
|
|
||||||
|
@Column
|
||||||
|
String score;
|
||||||
|
|
||||||
|
@OneToMany (mappedBy="evenement")
|
||||||
|
private Collection<Participant> participants;
|
||||||
|
|
||||||
|
@Column @Required
|
||||||
|
String sport_Nom;
|
||||||
|
|
||||||
|
public String getNom() {
|
||||||
|
return this.event_Nom;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Date getDate() {
|
||||||
|
return this.date;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getID() {
|
||||||
|
return this.event_ID;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
public class Parieur {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
|
||||||
|
import java.util.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity
|
||||||
|
public class Tennis extends Sport {
|
||||||
|
|
||||||
|
@Embedded
|
||||||
|
public Collection<Sets> sets;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.yourcompany.bmo.model.Matchs;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Embeddable @Getter @Setter
|
||||||
|
public class QuartTemps {
|
||||||
|
|
||||||
|
@Column(length=50) @Required
|
||||||
|
Integer numéro_quarttemps;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
package com.yourcompany.bmo.model;
|
||||||
|
|
||||||
|
import java.math.*;
|
||||||
|
import java.time.*;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
|
||||||
|
import org.openxava.annotations.*;
|
||||||
|
import org.openxava.model.*;
|
||||||
|
|
||||||
|
import lombok.*;
|
||||||
|
|
||||||
|
|
||||||
|
@Entity @Getter @Setter
|
||||||
|
public class QuartTemps {
|
||||||
|
@Column(length=50) @Required
|
||||||
|
public Integer numéro_quarttemps;
|
||||||
|
}
|
||||||