-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlayer.java
More file actions
81 lines (67 loc) · 1.33 KB
/
Copy pathPlayer.java
File metadata and controls
81 lines (67 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.mphasis.demo.model;
public class Player
{
private int playerNumber;
private int teamNo;
private String playerName;
private int noOfMatches;
private String skill;
public int getPlayerNumber()
{
return playerNumber;
}
public void setPlayerNumber(int playerNumber)
{
this.playerNumber = playerNumber;
}
public String getPlayerName()
{
return playerName;
}
public void setPlayerName(String playerName)
{
this.playerName = playerName;
}
public int getTeamNo()
{
return teamNo;
}
public void setTeamNo(int teamNo)
{
this.teamNo = teamNo;
}
public int getNoOfMatches()
{
return noOfMatches;
}
public void setNoOfMatches(int noOfMatches)
{
this.noOfMatches = noOfMatches;
}
public String getSkill()
{
return skill;
}
public void setSkill(String skill)
{
this.skill = skill;
}
public Player(int playerNumber, int teamNo, String playerName,int noOfMatches, String skill) {
super();
this.playerNumber = playerNumber;
this.playerName = playerName;
this.teamNo = teamNo;
this.noOfMatches = noOfMatches;
this.skill = skill;
}
public Player()
{
super();
}
@Override
public String toString()
{
return "playerNumber=" + playerNumber + ", playerName=" + playerName + ", teamNo=" + teamNo
+ ", noOfMatches=" + noOfMatches + ", skill=" + skill;
}
}