From d6ed68a07940c866d2176687185b86014db348ac Mon Sep 17 00:00:00 2001 From: famille Thevenot Date: Wed, 11 Sep 2024 23:12:53 +0200 Subject: [PATCH] =?UTF-8?q?classe=20Entreprise=20modifi=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nbproject/project.properties | 4 ++-- src/métiers/Entreprise.java | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/nbproject/project.properties b/nbproject/project.properties index ce5f7f1..5c94dff 100644 --- a/nbproject/project.properties +++ b/nbproject/project.properties @@ -37,7 +37,7 @@ includes=** jar.compress=false javac.classpath= # Space-separated list of extra javac options -javac.compilerargs= +javac.compilerargs=\ --enable-preview --enable-preview javac.deprecation=false javac.external.vm=true javac.modulepath= @@ -82,7 +82,7 @@ run.classpath=\ # Space-separated list of JVM arguments used when running the project. # You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. # To set system properties for unit tests define test-sys-prop.name=value: -run.jvmargs= +run.jvmargs=\ --enable-preview run.modulepath=\ ${javac.modulepath} run.test.classpath=\ diff --git a/src/métiers/Entreprise.java b/src/métiers/Entreprise.java index 44fd683..23db863 100644 --- a/src/métiers/Entreprise.java +++ b/src/métiers/Entreprise.java @@ -4,10 +4,21 @@ */ package métiers; +import métiers.Commande; + /** * * @author famille Thevenot */ public class Entreprise { + private String raisonSociale; + public void ajouterCommande(Commande uneCommande){ + } + public void supprimerCommande(Commande uneCommande){ + } + public Commande rechercherCommande(int noCom){ + Commande laCommande=null; + return laCommande; + } }