KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
9  * @author Ove Ranheim (oranheim@yahoo.no)
10  * @since Jun 20, 2004 1:26:10 PM
11  */

12 public class LogonStatus {
13     public static final LogonStatus NONE = new LogonStatus("None");
14     public static final LogonStatus SUCCESS = new LogonStatus("Success");
15     public static final LogonStatus FAILED = new LogonStatus("Failed");
16     
17     private String JavaDoc _name;
18     
19     public LogonStatus(String JavaDoc name) {
20         _name = name;
21     }
22
23     public boolean equals(Object JavaDoc obj) {
24         return super.equals(obj);
25     }
26     public String JavaDoc toString() {
27         return _name.toString();
28     }
29 }
30
Popular Tags