org.jsmpp.util
Class MessageId
java.lang.Object
org.jsmpp.util.MessageId
public class MessageId
- extends java.lang.Object
This class is wrap simple String
value as message_id. The main
purpose is the creation of the value will be validated as proper message_id.
- Author:
- uudashr
Constructor Summary |
MessageId(java.lang.String value)
Construct MessageId with specified value . |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
MessageId
public MessageId(java.lang.String value)
throws PDUStringException
- Construct
MessageId
with specified value
.
- Parameters:
value
- is the message_id as String
.
- Throws:
PDUStringException
getValue
public java.lang.String getValue()
- Get the message_id value.
- Returns:
- the value of message_id.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object