Platform SDK Java 8.5 API Reference

com.genesyslab.platform.webmedia.protocol.flexchat
Class MessageText

java.lang.Object
  extended by com.genesyslab.platform.commons.protocol.DataObject
      extended by com.genesyslab.platform.commons.protocol.runtime.CompoundValue
          extended by com.genesyslab.platform.webmedia.protocol.flexchat.MessageText
All Implemented Interfaces:
ProtocolDescriptionSupport

public abstract class MessageText
extends com.genesyslab.platform.commons.protocol.runtime.CompoundValue


Constructor Summary
MessageText()
           
 
Method Summary
static MessageText create()
          Creates instance of MessageText with no parameters set.
static MessageText create(java.lang.String text)
          Creates instance of MessageText with required parameters set.
static MessageText create(java.lang.String messageType, TreatAs treatAs, java.lang.String text)
          Creates instance of MessageText with all parameters set.
abstract  java.lang.String getMessageType()
          Defines the message type for each MessageText object.
abstract  java.lang.String getText()
          If NoticeType is not equal to None, then this property contains the notification text.
abstract  TreatAs getTreatAs()
           
abstract  void setMessageType(java.lang.String messageType)
          Defines the message type for each MessageText object.
abstract  void setText(java.lang.String text)
          If NoticeType is not equal to None, then this property contains the notification text.
abstract  void setTreatAs(TreatAs treatAs)
           
 
Methods inherited from class com.genesyslab.platform.commons.protocol.runtime.CompoundValue
getProtocolDescription
 
Methods inherited from class com.genesyslab.platform.commons.protocol.DataObject
equals, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageText

public MessageText()
Method Detail

create

public static MessageText create()
Creates instance of MessageText with no parameters set.

Returns:
instance of MessageText

create

public static MessageText create(java.lang.String messageType,
                                 TreatAs treatAs,
                                 java.lang.String text)
Creates instance of MessageText with all parameters set.

Parameters:
messageType - MessageType
treatAs - TreatAs
text - Text
Returns:
instance of MessageText

create

public static MessageText create(java.lang.String text)
Creates instance of MessageText with required parameters set.

Parameters:
text - Text
Returns:
instance of MessageText

getMessageType

public abstract java.lang.String getMessageType()
Defines the message type for each MessageText object.


setMessageType

public abstract void setMessageType(java.lang.String messageType)
Defines the message type for each MessageText object.


getTreatAs

public abstract TreatAs getTreatAs()

setTreatAs

public abstract void setTreatAs(TreatAs treatAs)

getText

public abstract java.lang.String getText()
If NoticeType is not equal to None, then this property contains the notification text. Otherwise, it holds the message text.


setText

public abstract void setText(java.lang.String text)
If NoticeType is not equal to None, then this property contains the notification text. Otherwise, it holds the message text.


Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.