[832] | 1 | package de.dass_it.vanhelsing.gui.items;
|
---|
[844] | 2 | public class MessagesItem extends ItemType implements UserObjectItem{
|
---|
[859] | 3 | private String name;
|
---|
| 4 | private String mailcommand;
|
---|
| 5 | private String destination;
|
---|
| 6 | private String mail;
|
---|
| 7 | private String operatorcommand;
|
---|
| 8 | private String console;
|
---|
| 9 | private String operator;
|
---|
[832] | 10 |
|
---|
[859] | 11 | public MessagesItem(){}
|
---|
[832] | 12 |
|
---|
| 13 | public MessagesItem(String name, String mailCommand, String destination){
|
---|
| 14 | setName(name);
|
---|
[858] | 15 | setMailcommand(mailCommand);
|
---|
[832] | 16 | setDestination(destination);
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public void setName(String name) {
|
---|
| 20 | this.name = name;
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | public String getName() {
|
---|
| 24 | return name;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
[858] | 27 | public void setMailcommand(String mailcommand) {
|
---|
| 28 | this.mailcommand = mailcommand;
|
---|
[832] | 29 | }
|
---|
| 30 |
|
---|
[858] | 31 | public String getMailcommand() {
|
---|
| 32 | return mailcommand;
|
---|
[832] | 33 | }
|
---|
| 34 |
|
---|
| 35 | public void setDestination(String destination) {
|
---|
| 36 | this.destination = destination;
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 | public String getDestination() {
|
---|
| 40 | return destination;
|
---|
| 41 | }
|
---|
[859] | 42 |
|
---|
| 43 | public void setMail(String mail) {
|
---|
| 44 | this.mail = mail;
|
---|
| 45 | }
|
---|
| 46 |
|
---|
| 47 | public String getMail() {
|
---|
| 48 | return mail;
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | public void setOperatorcommand(String operatorcommand) {
|
---|
| 52 | this.operatorcommand = operatorcommand;
|
---|
| 53 | }
|
---|
| 54 |
|
---|
| 55 | public String getOperatorcommand() {
|
---|
| 56 | return operatorcommand;
|
---|
| 57 | }
|
---|
| 58 |
|
---|
| 59 | public void setConsole(String console) {
|
---|
| 60 | this.console = console;
|
---|
| 61 | }
|
---|
| 62 |
|
---|
| 63 | public String getConsole() {
|
---|
| 64 | return console;
|
---|
| 65 | }
|
---|
| 66 |
|
---|
| 67 | public void setOperator(String operator) {
|
---|
| 68 | this.operator = operator;
|
---|
| 69 | }
|
---|
| 70 |
|
---|
| 71 | public String getOperator() {
|
---|
| 72 | return operator;
|
---|
| 73 | }
|
---|
[832] | 74 |
|
---|
| 75 |
|
---|
| 76 | }
|
---|