-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommand.java
More file actions
60 lines (48 loc) · 1.1 KB
/
Copy pathCommand.java
File metadata and controls
60 lines (48 loc) · 1.1 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
package com.medantechno.arduinobluetooth;
/**
* Created by user on 4/14/2017.
*/
public class Command {
//private variables
int _id;
String vName;
String codenya;
// Empty constructor
public Command(){
}
// constructor
public Command(int id, String name, String codenya){
this._id = id;
this.vName = name;
this.codenya = codenya;
}
// constructor
public Command(String name, String codenya){
this.vName = name;
this.codenya = codenya;
}
// getting ID
public int getID(){
return this._id;
}
// setting id
public void setID(int id){
this._id = id;
}
// getting name
public String getName(){
return this.vName;
}
// setting name
public void setName(String name){
this.vName = name;
}
// getting phone number
public String getCodenya(){
return this.codenya;
}
// setting phone number
public void setCodenya(String a){
this.codenya = a;
}
}