1 4 package xpetstore.domain; 5 6 import java.io.Serializable ; 7 8 import java.util.Set ; 9 10 11 17 public class Product 18 implements Serializable 19 { 20 22 private String _productId; 23 private String _name; 24 private String _description; 25 private Set _items; 26 27 29 35 public String getDescription( ) 36 { 37 return _description; 38 } 39 40 52 public Set getItems( ) 53 { 54 return _items; 55 } 56 57 63 public String getName( ) 64 { 65 return _name; 66 } 67 68 75 public String getProductId( ) 76 { 77 return _productId; 78 } 79 80 84 public void setDescription( String description ) 85 { 86 _description = description; 87 } 88 89 93 public void setItems( Set items ) 94 { 95 _items = items; 96 } 97 98 102 public void setName( String name ) 103 { 104 _name = name; 105 } 106 107 111 public void setProductId( String productId ) 112 { 113 _productId = productId; 114 } 115 } 116 | Popular Tags |