Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java: in The Occurrence class: o to complete the declaration of the Occurrence class so that it is a generic type in The Product class:

Java:

in The Occurrence class: o to complete the declaration of the Occurrence class so that it is a generic type

in The Product class: o to complete the declaration of the Product class so that it inherits from ProductsAndServices and so that it is identifiable o provide the missing method so that it can be identified o to complete the toString() method which will be used in the display of the report

in The Service class: o to complete the declaration of the Service class so that it inherits from ProductsAndServices and so that it is identifiable o provide the missing method so that it can be identified o to complete the toString() method which will be used in the display of the report

in The Jersey class: o complete two missing methods. Hint: Take inspiration from the two other classes of the same level.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

privere string shat abstmact Pcodect 7ipe get raductipel)1 sin in rastractenen - everia naet te men in prasir this, ike a atis anper. taveate a tasistei forser neteiculice inie itid pinife string getski ietwe thisisin pioticinaie setskistriss sami is. pootectail sering jetumen't if itetert thili, hase; thitr, ane a napel pratected beunte jetsriecile teterit thitiniti rice: matectal wald setprice fopils privei is 1 ret inteps Wititien notre mat-irt protected Double taxRate =0.13; abstract String getName(); abstract void setName(String name); abstract Double getPrice(); abstract void setPrice(Double price); / * constructeur par defaut: protected ProduitsEtServices () \{ ; /** * Constructeur qui permet de faire un overwrite du tax rate * eparam taxRate */ protected ProduitsEtServices (Double taxRate) \{ \} this.taxRate = taxRate; ublic class Poster extends Produit \{ private Boolean issigned; * ereturn le type de produit (en valeur enum) *ublic Produit. ProductType getProductType() \{ return ProductType.POSTER; * construit un objet Poster * eparam name le nom du produit * eparam sku le product-Id du Poster * eparam unitPrice le prix unitaire * eparam taxRate le taux de taxe * eparam isSigned true si le poster est signe */ public Poster(String name, String sku, Double unitPrice, Double taxRate, Boolean issigned) \{ super (name, sku, unitPrice, taxRate); F this. issigned = isSigned

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

=+associated with political parties and if so, which ones? Are

Answered: 1 week ago