org.csapi.jr.se.ui
Class UIMessageCriteria

java.lang.Object
  |
  +--org.csapi.jr.se.ui.UIMessageCriteria
All Implemented Interfaces:
java.io.Serializable

public final class UIMessageCriteria
extends java.lang.Object
implements java.io.Serializable

Defines the Sequence of Data Elements that specify the additional properties for the recording of a message.

See Also:
Serialized Form

Constructor Summary
UIMessageCriteria()
          Creates a new UIMessageCriteria instance.
UIMessageCriteria(java.lang.String _endSequence, int _maxMessageTime, int _maxMessageSize)
          Creates a new UIMessageCriteria instance.
 
Method Summary
 boolean equals(java.lang.Object o)
          Indicates whether some other object is 'equal to' this one.
 java.lang.String getEndSequence()
          This method returns a endSequence.
 int getMaxMessageSize()
          This method returns a maxMessageSize.
 int getMaxMessageTime()
          This method returns a maxMessageTime.
 int hashCode()
          Returns a hashcode value for the object.
 void setEndSequence(java.lang.String endSequence)
          This method sets a endSequence.
 void setMaxMessageSize(int maxMessageSize)
          This method sets a maxMessageSize.
 void setMaxMessageTime(int maxMessageTime)
          This method sets a maxMessageTime.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIMessageCriteria

public UIMessageCriteria()
Creates a new UIMessageCriteria instance.


UIMessageCriteria

public UIMessageCriteria(java.lang.String _endSequence,
                         int _maxMessageTime,
                         int _maxMessageSize)
Creates a new UIMessageCriteria instance.

Parameters:
_endSequence - Defines the character or characters which terminate an input of variable length, for example phone numbers.
_maxMessageTime - Specifies the maximum duration in seconds of the message that is to be recorded.
_maxMessageSize - If this parameter is non-zero, it specifies the maximum size in bytes of the message that is to be recorded.
Method Detail

getEndSequence

public java.lang.String getEndSequence()
This method returns a endSequence.

Returns:
a String value

getMaxMessageTime

public int getMaxMessageTime()
This method returns a maxMessageTime.

Returns:
a int value

getMaxMessageSize

public int getMaxMessageSize()
This method returns a maxMessageSize.

Returns:
a int value

setEndSequence

public void setEndSequence(java.lang.String endSequence)
This method sets a endSequence.


setMaxMessageTime

public void setMaxMessageTime(int maxMessageTime)
This method sets a maxMessageTime.


setMaxMessageSize

public void setMaxMessageSize(int maxMessageSize)
This method sets a maxMessageSize.


equals

public boolean equals(java.lang.Object o)
Indicates whether some other object is 'equal to' this one.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Returns a hashcode value for the object.

Overrides:
hashCode in class java.lang.Object