Advertisement
Fhernd

GuitarSpec.java

Jun 10th, 2012
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.83 KB | None | 0 0
  1. public class GuitarSpec {
  2.  
  3.   private Builder builder;
  4.   private String model;
  5.   private Type type;
  6.   private Wood backWood;
  7.   private Wood topWood;
  8.   private int numStrings;
  9.  
  10.   public GuitarSpec(Builder builder, String model, Type type,
  11.                     Wood backWood, Wood topWood, int numStrings ) {
  12.     this.builder = builder;
  13.     this.model = model;
  14.     this.type = type;
  15.     this.backWood = backWood;
  16.     this.topWood = topWood;
  17.     this.numStrings = numStrings;
  18.   }
  19.  
  20.   public Builder getBuilder() {
  21.     return builder;
  22.   }
  23.  
  24.   public String getModel() {
  25.     return model;
  26.   }
  27.  
  28.   public Type getType() {
  29.     return type;
  30.   }
  31.  
  32.   public Wood getBackWood() {
  33.     return backWood;
  34.   }
  35.  
  36.   public Wood getTopWood() {
  37.     return topWood;
  38.   }
  39.  
  40.   public int getNumStrings()
  41.   {
  42.     return numStrings;
  43.   }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement