com.asdf.parser
Class ChatMessage

java.lang.Object
  extended by com.asdf.parser.ChatMessage

public class ChatMessage
extends java.lang.Object

Java class for ChatMessage complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ChatMessage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <choice>
           <element name="Message" type="{http://www.w3.org/2001/XMLSchema}string"/>
         </choice>
       </sequence>
       <attribute name="sender" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
ChatMessage()
           
 
Method Summary
 java.lang.String getMessage()
          Gets the value of the message property.
 java.lang.String getSender()
          Gets the value of the sender property.
 int getType()
          Gets the value of the type property.
 void setMessage(java.lang.String value)
          Sets the value of the message property.
 void setSender(java.lang.String value)
          Sets the value of the sender property.
 void setType(java.lang.Integer value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatMessage

public ChatMessage()
Method Detail

getMessage

public java.lang.String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(java.lang.String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getSender

public java.lang.String getSender()
Gets the value of the sender property.

Returns:
possible object is String

setSender

public void setSender(java.lang.String value)
Sets the value of the sender property.

Parameters:
value - allowed object is String

getType

public int getType()
Gets the value of the type property.

Returns:
possible object is Integer

setType

public void setType(java.lang.Integer value)
Sets the value of the type property.

Parameters:
value - allowed object is Integer