KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > sms > model > MessageStatus


1 /**
2  * Copyright 2001-2004 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  **/

5 package org.exoplatform.services.communication.sms.model;
6
7 /**
8  * @author Ove Ranheim (oranheim@yahoo.no)
9  * @since Jun 18, 2004 3:56:19 PM
10  */

11 public class MessageStatus {
12     public static final MessageStatus DRAFT = new MessageStatus("DRAFT");
13     public static final MessageStatus PENDING = new MessageStatus("PENDING");
14     public static final MessageStatus SENDING = new MessageStatus("SENDING");
15     public static final MessageStatus COMPLETE = new MessageStatus("COMPLETE");
16     public static final MessageStatus FAILURE = new MessageStatus("FAILURE");
17
18     private String JavaDoc _status;
19     
20     public MessageStatus(String JavaDoc status) {
21         _status = status;
22     }
23
24     public boolean equals(Object JavaDoc o) {
25         return super.equals(o);
26     }
27     public String JavaDoc toString() {
28         return _status;
29     }
30 }
31
Popular Tags