/* This class describes an accessory with the following attributes and methods! */

public class Accessory extends Product {
	
	private String productNbr;
	private int price;
	private String name;
	private String info;

	public Accessory(String productNbr, int price, String name, String info) {
		this.productNbr = productNbr;
		this.price = price;
		this.name = name;
		this.info = info;
	}

	public String getProductNbr() {
		return productNbr;
	}
	public void setProductNbr(String productNbr) {
		this.productNbr = productNbr;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
}

@@ -1,8 +1,9 @@
+%0A
 /* This 
@@ -123,19 +123,33 @@
 t %7B%0A
-%09%0A%09
+        %0A        
 private 
 Stri
@@ -144,22 +144,19 @@
 private 
-Str
 in
-g
+t
  product
@@ -160,17 +160,24 @@
 uctNbr;%0A
-%09
+        
 private 
@@ -187,17 +187,24 @@
  price;%0A
-%09
+        
 private 
@@ -216,17 +216,24 @@
 g name;%0A
-%09
+        
 private 
@@ -246,17 +246,24 @@
  info;%0A%0A
-%09
+        
 public A
@@ -271,22 +271,19 @@
 cessory(
-Str
 in
-g
+t
  product
@@ -322,26 +322,40 @@
 ing info) %7B%0A
-%09%09
+                
 this.product
@@ -372,18 +372,32 @@
 uctNbr;%0A
-%09%09
+                
 this.pri
@@ -408,18 +408,32 @@
  price;%0A
-%09%09
+                
 this.nam
@@ -442,18 +442,32 @@
 = name;%0A
-%09%09
+                
 this.inf
@@ -480,26 +480,37 @@
 fo;%0A
-%09%7D%0A%0A%09
+        %7D%0A%0A        
 public 
-Str
 in
-g
+t
  get
@@ -520,26 +520,40 @@
 ductNbr() %7B%0A
-%09%09
+                
 return produ
@@ -555,28 +555,42 @@
 productNbr;%0A
-%09%7D%0A%09
+        %7D%0A        
 public void 
@@ -603,22 +603,19 @@
 ductNbr(
-Str
 in
-g
+t
  product
@@ -617,26 +617,40 @@
 oductNbr) %7B%0A
-%09%09
+                
 this.product
@@ -667,20 +667,34 @@
 uctNbr;%0A
-%09%7D%0A%09
+        %7D%0A        
 public i
@@ -713,28 +713,56 @@
 ) %7B%0A
-%09%09return price;%0A%09%7D%0A%09
+                return price;%0A        %7D%0A        
 publ
@@ -787,26 +787,40 @@
 nt price) %7B%0A
-%09%09
+                
 this.price =
@@ -827,20 +827,34 @@
  price;%0A
-%09%7D%0A%09
+        %7D%0A        
 public S
@@ -875,27 +875,55 @@
 ) %7B%0A
-%09%09return name;%0A%09%7D%0A%09
+                return name;%0A        %7D%0A        
 publ
@@ -949,26 +949,40 @@
 ing name) %7B%0A
-%09%09
+                
 this.name = 
@@ -987,20 +987,34 @@
 = name;%0A
-%09%7D%0A%09
+        %7D%0A        
 public S
@@ -1035,27 +1035,55 @@
 ) %7B%0A
-%09%09return info;%0A%09%7D%0A%09
+                return info;%0A        %7D%0A        
 publ
@@ -1117,10 +1117,24 @@
 ) %7B%0A
-%09%09
+                
 this
@@ -1151,9 +1151,16 @@
 fo;%0A
-%09
+        
 %7D%0A%7D%0A

Update Accessory.java