KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openharmonise > him > window > messages > builders > StatusMessage


1 /*
2  * The contents of this file are subject to the
3  * Mozilla Public License Version 1.1 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at http://www.mozilla.org/MPL/
6  *
7  * Software distributed under the License is distributed on an "AS IS"
8  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied.
9  * See the License for the specific language governing rights and
10  * limitations under the License.
11  *
12  * The Initial Developer of the Original Code is Simulacra Media Ltd.
13  * Portions created by Simulacra Media Ltd are Copyright (C) Simulacra Media Ltd, 2004.
14  *
15  * All Rights Reserved.
16  *
17  * Contributor(s):
18  */

19 package org.openharmonise.him.window.messages.builders;
20
21 /**
22  *
23  * @author Matthew Large
24  * @version $Revision: 1.1 $
25  *
26  */

27 public class StatusMessage {
28     
29     private String JavaDoc m_sActionName = null;
30
31     private Object JavaDoc m_statusInformation = null;
32     
33     private String JavaDoc m_sResourceTitle = null;
34     
35     private String JavaDoc m_sDestinationTitle = null;
36     
37     private String JavaDoc m_sPath = null;
38     
39     /**
40      *
41      */

42     public StatusMessage(String JavaDoc sActionName, Object JavaDoc statusInformation) {
43         super();
44         this.m_sActionName = sActionName;
45         this.m_statusInformation = statusInformation;
46     }
47     
48     public String JavaDoc getActionName() {
49         return this.m_sActionName;
50     }
51     
52     public Object JavaDoc getStatusInformation() {
53         return this.m_statusInformation;
54     }
55     
56     public void setResourceTitle(String JavaDoc sTitle) {
57         this.m_sResourceTitle = sTitle;
58     }
59     
60     public String JavaDoc getResourceTitle() {
61         return this.m_sResourceTitle;
62     }
63     
64     public void setDestinationTitle(String JavaDoc sTitle) {
65         this.m_sDestinationTitle = sTitle;
66     }
67     
68     public String JavaDoc getDestinationTitle() {
69         return this.m_sDestinationTitle;
70     }
71     
72     public void setPath(String JavaDoc sPath) {
73         this.m_sPath = sPath;
74     }
75     
76     public String JavaDoc getPath() {
77         return this.m_sPath;
78     }
79     
80
81 }
82
Popular Tags