Line | |
---|
1 | package de.dass_it.vanhelsing.gui.items;
|
---|
2 | public class MessagesItem extends ItemType implements UserObjectItem{
|
---|
3 | /**
|
---|
4 | * @uml.property name="name"
|
---|
5 | */
|
---|
6 | private String name;
|
---|
7 | /**
|
---|
8 | * @uml.property name="mailcommand"
|
---|
9 | */
|
---|
10 | private String mailcommand;
|
---|
11 | /**
|
---|
12 | * @uml.property name="destination"
|
---|
13 | */
|
---|
14 | private String destination;
|
---|
15 |
|
---|
16 | public MessagesItem(){}
|
---|
17 |
|
---|
18 | public MessagesItem(String name, String mailCommand, String destination){
|
---|
19 | setName(name);
|
---|
20 | setMailcommand(mailCommand);
|
---|
21 | setDestination(destination);
|
---|
22 | }
|
---|
23 |
|
---|
24 | /**
|
---|
25 | * @param name
|
---|
26 | * @uml.property name="name"
|
---|
27 | */
|
---|
28 | public void setName(String name) {
|
---|
29 | this.name = name;
|
---|
30 | }
|
---|
31 |
|
---|
32 | /**
|
---|
33 | * @return
|
---|
34 | * @uml.property name="name"
|
---|
35 | */
|
---|
36 | public String getName() {
|
---|
37 | return name;
|
---|
38 | }
|
---|
39 |
|
---|
40 | /**
|
---|
41 | * @param mailcommand
|
---|
42 | * @uml.property name="mailcommand"
|
---|
43 | */
|
---|
44 | public void setMailcommand(String mailcommand) {
|
---|
45 | this.mailcommand = mailcommand;
|
---|
46 | }
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * @return
|
---|
50 | * @uml.property name="mailcommand"
|
---|
51 | */
|
---|
52 | public String getMailcommand() {
|
---|
53 | return mailcommand;
|
---|
54 | }
|
---|
55 |
|
---|
56 | /**
|
---|
57 | * @param destination
|
---|
58 | * @uml.property name="destination"
|
---|
59 | */
|
---|
60 | public void setDestination(String destination) {
|
---|
61 | this.destination = destination;
|
---|
62 | }
|
---|
63 |
|
---|
64 | /**
|
---|
65 | * @return
|
---|
66 | * @uml.property name="destination"
|
---|
67 | */
|
---|
68 | public String getDestination() {
|
---|
69 | return destination;
|
---|
70 | }
|
---|
71 |
|
---|
72 |
|
---|
73 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.