SHARE
TWEET

Untitled

a guest Jun 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package aukcje;
  2.  
  3. public class SimpleAuctionBuilder extends AuctionBuilder {
  4.  
  5.  
  6.     @Override
  7.     public void buildName(String name) {
  8.         auction.setName(name);
  9.     }
  10.  
  11.     @Override
  12.     public void buildDescription(String description) {
  13.         auction.setDescription(description);
  14.        
  15.     }
  16.  
  17.     @Override
  18.     public void buildInitialPrice(int initialPrice) {
  19.         auction.setInitialPrice(initialPrice);
  20.        
  21.     }
  22.  
  23.     @Override
  24.     public void buildNumberOfRounds(int numberOfRounds) {
  25.         auction.setNumberOfrounds(numberOfRounds);
  26.        
  27.     }
  28.  
  29.     @Override
  30.     public void buildMinimumTrustPoints(int minimumTrustPoints) {
  31.         auction.setMinimumTrustPoints(minimumTrustPoints);
  32.        
  33.     }
  34.  
  35.    
  36.  
  37.  
  38. }
RAW Paste Data
Top