1 5 package org.exoplatform.services.communication.sms.model; 6 7 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 _status; 19 20 public MessageStatus(String status) { 21 _status = status; 22 } 23 24 public boolean equals(Object o) { 25 return super.equals(o); 26 } 27 public String toString() { 28 return _status; 29 } 30 } 31 | Popular Tags |