Advertisement
Ellie29

Untitled

Dec 10th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.38 KB | None | 0 0
  1. public class Group {
  2.     int groupID;
  3.     String groupName;
  4.     String groupCurrency;
  5.     String groupAmount;
  6.     String currencyID;
  7.  
  8.     public String getGroupName() {return groupName;}
  9.  
  10.     public void setGroupName(String groupName){this.groupName = groupName;}
  11.  
  12.     public String getGroupCurrency() {return groupCurrency;}
  13.  
  14.     public void setGroupCurrency(String groupCurrency) {
  15.         this.groupCurrency = groupCurrency;
  16.     }
  17.  
  18.     public String getGroupAmount() {return groupAmount;}
  19.  
  20.     public void setGroupAmount(String groupAmount) {
  21.         this.groupAmount = groupAmount;
  22.     }
  23.  
  24.     public String getCurrencyID() {return currencyID;}
  25.  
  26.     public void setCurrencyID(String currencyID) {
  27.         this.currencyID = currencyID;
  28.     }
  29.  
  30.     public Group(String tmpGroupName, String tmpGroupAmount, String tmpGro-upCurrency){
  31.         this.groupAmount =tmpGroupAmount;
  32.         this.groupName = tmpGroupName;
  33.         this.groupCurrency = tmpGroupCurrency;
  34.     }
  35.     public Group(String tmpGroupName, String tmpGroupAmount, String tmpGro-upCurrency, int tmpID){
  36.         this.groupAmount =tmpGroupAmount;
  37.         this.groupName = tmpGroupName;
  38.         this.groupCurrency = tmpGroupCurrency;
  39.         this.groupID = tmpID;
  40.     }
  41.  
  42.     public Group(){ }
  43.  
  44.     public int getGroupID() {return groupID;}
  45.  
  46.     public void setGroupID(int groupID) {this.groupID = groupID;}
  47.  
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement