Line | |
---|
1 | package de.dass_it.vanhelsing.gui.items;
|
---|
2 | public class MessagesItem extends ItemType implements UserObjectItem{
|
---|
3 | private String name;
|
---|
4 | private String mailCommand;
|
---|
5 | private String destination;
|
---|
6 |
|
---|
7 | public MessagesItem(){}
|
---|
8 |
|
---|
9 | public MessagesItem(String name, String mailCommand, String destination){
|
---|
10 | setName(name);
|
---|
11 | setMailCommand(mailCommand);
|
---|
12 | setDestination(destination);
|
---|
13 | }
|
---|
14 |
|
---|
15 | public void setName(String name) {
|
---|
16 | this.name = name;
|
---|
17 | }
|
---|
18 |
|
---|
19 | public String getName() {
|
---|
20 | return name;
|
---|
21 | }
|
---|
22 |
|
---|
23 | public void setMailCommand(String mailCommand) {
|
---|
24 | this.mailCommand = mailCommand;
|
---|
25 | }
|
---|
26 |
|
---|
27 | public String getMailCommand() {
|
---|
28 | return mailCommand;
|
---|
29 | }
|
---|
30 |
|
---|
31 | public void setDestination(String destination) {
|
---|
32 | this.destination = destination;
|
---|
33 | }
|
---|
34 |
|
---|
35 | public String getDestination() {
|
---|
36 | return destination;
|
---|
37 | }
|
---|
38 |
|
---|
39 |
|
---|
40 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.