Epreuve final Centre National de l'Evaluation et des Examens Examen National d ? obtention du Brevet de Technicien Supérieur Session Mai Page Filière Épreuve Développement des Systèmes d ? Information Développement des Applications informatiques DAI Durée
Centre National de l'Evaluation et des Examens Examen National d ? obtention du Brevet de Technicien Supérieur Session Mai Page Filière Épreuve Développement des Systèmes d ? Information Développement des Applications informatiques DAI Durée Heures Coe ?cient La société marocaine ? DSIGS ? spécialisée dans la vente en ligne veut implanter un programme de gestion de stock a ?n d ? automatiser son système d ? information La ?gure suivante représente le modèle logique de données élaboré par un analyste programmeur Produit CodeProduit nchar Designation nchar Categorie nchar PrixUnitaire oat DocumentConstructeur nchar Client CodeClient NomClient AdrClient TelClient nchar nchar nchar nchar LigneCommande CodeProduit NumCommande QteCommande nchar int int Commande NumCommande DateCommande NomFournisseur CodeClient int Date nchar nchar FIGURE MLD DE L ? APPLICATION CExamen National du Brevet de Technicien Supérieur - Session Mai Filière DSI Épreuve DAI PARTIE PROGRAMMATION ORIENTE OBJET JAVA pts La structure des classes que l ? on veut réaliser est la suivante Page Commande ?? NumCommande int ?? DateCommande Date ?? NomFournisseur String ? Commande NumCommande int DateCommande Date NomFournisseur String ? toString String ? equals obj Object boolean ? getNumCommande int ? setNumCommand NumCommande int void ? getDateCommande Date ? setDateCommande DateCommande Date void ? getFournisseur String ? setFournisseur NomFournisseur String void Client ?? CodeClient String ?? NomClient String ?? AdrClient String ?? TelClient String ?? ListeCommandes Vector ? Client CodeClient string NomClient string AdrClient String ? EnregistrerCommande cmd Commande boolean ? supprimerCommande position int boolean ? toString String ClientFidel ?? CodeFidelite String ?? TauxReduction oat ? ClientFidel CodeClient string NomClient string AdrClient String CodeFidelite string TauxReduction oat ? toString String FIGURE CLASSES DE COMMANDE ET CLIENT Travail à faire Réaliser la classe Commande qui a comme attributs pts NumCommande de type entier DateCommande de type Date NomFournisseur de type String Elle a comme méthodes Un constructeur avec arguments Des accesseurs getters Des mutateurs modi ?cateurs ou setters La méthode redé ?nie toString retournant une chaine contenant toutes les informations d ? une commande La méthode redé ?nie equals Object obj qui compare deux commandes et prend comme critère de comparaison le NumCommande CExamen National du Brevet de Technicien Supérieur - Session Mai Filière DSI Épreuve DAI Page Quelles sont les modi ?cations à apporter à la classe commande pour faire son clonage pt Réaliser la classe Client qui possède comme attributs pts CodeClient de type String NomClient nom du client de type String AdrClient adresse client de type String TelClient telephone du client de type String ListCommandes de type Vector qui contiendra la liste des commandes e ?ectuées par ce client Cette classe contient comme méthodes Un constructeur d ? initialisation qui initialise les trois premiers attributs par les arguments reçus et instancie un nouveau vecteur La méthode EnregistrerCommande permettant d ? ajouter une nouvelle commande au vecteur ListCommandes La méthode SupprimerCommande permettant de supprimer une commande du vecteur en se basant sur le NumCommande passé en paramètre si ce numéro n ? existe pas cette méthode retourne false sinon elle retourne true La
Documents similaires
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702600090nsx3avhrm9ntgqkr8vvfeerl1gcxqaoh1khxa8jlf3999wq2mqi6ctiognlhbc184irgsyh1dneyeqnavmizpq066dce9zuosx0p.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702382622rkigupwnekaaxswp97gppy2tp42lwcnecjaopcxjmdeuqdzb1q7vottutvu96uqoj14qi6wh1pcgiioqct08e0f95zhlhjnf42f3.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702456664s4dmjrmngwksz9eozaubzfytt9ikwnurkjxk9k6e4cstxpi2vh75soltjs1nc3ndqdel7rken0er4ao0xnxbgscbbb1indqfscns.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/6fUhtmctRxpxfMDMfAZXEyCYCxkMeYPNz6hzIR8GUs5a2PegcLRXl0GIsNWnzPxfXRnj5svpPV6piGAj8e1MUjcr.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702509464edijty5vqp1diofjfyuuu3pc0pn9agpoypgf8syguca9pevrshmt41kirea4sj5moy73ibdhpvahgpcafdyloby6pb4h9owy8yoc.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/6MPQvTbUf4VCE8i3XW8A454OyIQIaQXFtKB8JWxBBeAhh5uQsdd6ylrKHJps7NLrRDbfQHdvzl3VFYZC067Gdb1E.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702435434sntzx2fnkgrcmnr4wh9c6lacdtva372mgswejdwv8icpbzvabqwabwvjaverz9fwhddxtektnxvagrjeexmmnw6lpffg93fur50s.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702584794uloqmhthtpc2omoqv9ykqt7oxm1ibgsz5ibyr0clwlyhrgffnjyezniitkol3d9zugys8r2r1kxzqpznzaomjaw3k0vdcxroposc.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702397807tfo0uebhwwflo4n4acnoowfprtkxhrznrxfvwjng73fy6e6gtkfbddhncgxh9odtemjh9q1mp3uerqshbugw8jjx8aht4myibvvg.png)
![](https://b3c3.c12.e2-4.dev/disserty/uploads/preview/11702473507vqffdckwm9stf3qgl4iw5bkf0o6yccuqraluhpyggea4szqvq1bud7rwvo1zojhurugrnerzq3vfbutad7dvnjlwpdtdvbqojyda.png)
-
17
-
0
-
0
Licence et utilisation
Gratuit pour un usage personnel Aucune attribution requise- Détails
- Publié le Apv 11, 2021
- Catégorie Industry / Industr...
- Langue French
- Taille du fichier 49.5kB