Add OpenXava
This commit is contained in:
0
OpenXAVA/workspace/.metadata/.lock
Executable file
0
OpenXAVA/workspace/.metadata/.lock
Executable file
6633
OpenXAVA/workspace/.metadata/.log
Executable file
6633
OpenXAVA/workspace/.metadata/.log
Executable file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -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
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.openxava.annotations.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class PariAvancé extends Pari {
|
||||
|
||||
@Required @Column
|
||||
String Type;
|
||||
|
||||
@Required @Column
|
||||
String Intervalle;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
public class Evenement {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package com.yourcompany.bmo.model.Dans_match;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
public class Sets {
|
||||
@Column
|
||||
private int numéro_set;
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
|
||||
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.openxava.annotations.*;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
|
||||
@Entity @Getter @Setter
|
||||
public class Participant {
|
||||
|
||||
@Id @Required @Column
|
||||
Integer participant_ID;
|
||||
|
||||
@Required @Column
|
||||
String participant_Nom;
|
||||
|
||||
@Column @Required
|
||||
String participant_Type;
|
||||
|
||||
|
||||
public String getType() {
|
||||
return this.participant_Type;
|
||||
}
|
||||
|
||||
public String getNom() {
|
||||
return this.participant_Nom;
|
||||
}
|
||||
|
||||
public Integer getID() {
|
||||
return this.participant_ID;
|
||||
}
|
||||
}
|
||||
@@ -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,17 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.openxava.annotations.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Basket extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<QuartTemps> quarttemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.yourcompany.bmo.model.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Basket extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<QuartTemps> quarttemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Basket extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<QuartTemps> quarttemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -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,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class Sets {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
public class Bookmarker {
|
||||
|
||||
public void crediterParieur(Pari par){}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
import java.math.*;
|
||||
import java.time.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
@Entity @Getter @Setter
|
||||
public class QuartTemps {
|
||||
@Column
|
||||
private int numéro_quarttemps;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
public class MiTemps {
|
||||
@Column
|
||||
private int numéro_mitemps;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class QuartTemps {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class MiTemps {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model.Matchs;
|
||||
|
||||
public class Sets {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class Sets {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
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;
|
||||
|
||||
|
||||
@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,56 @@
|
||||
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;
|
||||
|
||||
@OneToMany (mappedBy="evenement")
|
||||
private Collection<PariAvancé> pari_avancés;
|
||||
|
||||
@OneToMany (mappedBy="evenement")
|
||||
private Collection<PariSimple> pari_simples;
|
||||
|
||||
@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 Sets {
|
||||
|
||||
}
|
||||
@@ -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,16 @@
|
||||
|
||||
|
||||
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,34 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
|
||||
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.openxava.annotations.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Pari {
|
||||
|
||||
@Id @Required @Column
|
||||
Integer pari_ID;
|
||||
|
||||
@Column @Required
|
||||
String TypePari;
|
||||
|
||||
@Column @Required
|
||||
String RésultatParié;
|
||||
|
||||
@Column @Required
|
||||
Float Montant;
|
||||
|
||||
@Column @Required
|
||||
Float Cote;
|
||||
|
||||
@ManyToOne
|
||||
public Bookmarker bookmaker;
|
||||
|
||||
@ManyToOne
|
||||
public Parieur parieur;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class Sports {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package com.yourcompany.bmo.model.Dans_match;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
@Entity @Getter @Setter
|
||||
public class Sets {
|
||||
@Column
|
||||
public int numéro_set;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class Participant {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package com.yourcompany.bmo.model.Dans_match;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
public class MiTemps {
|
||||
@Column
|
||||
private int numéro_mitemps;
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
public class Bookmarker {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Football extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<MiTemps> mitemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import org.openxava.annotations.*;
|
||||
|
||||
import lombok.*;
|
||||
|
||||
|
||||
@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;
|
||||
|
||||
|
||||
}
|
||||
@@ -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,16 @@
|
||||
package com.yourcompany.bmo.model;
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class PariAvancé extends Pari {
|
||||
|
||||
@Require @Column
|
||||
public Collection<MiTemps> mitemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Football extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<MiTemps> mitemps;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
|
||||
|
||||
import java.util.*;
|
||||
|
||||
import javax.persistence.*;
|
||||
|
||||
import com.yourcompany.bmo.model.*;
|
||||
|
||||
|
||||
@Entity
|
||||
public class Football extends Sport {
|
||||
|
||||
@Embedded
|
||||
public Collection<MiTemps> mitemps;
|
||||
|
||||
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user