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