org.ow2.frascati.jaxb.test.message
Class Message

java.lang.Object
  extended by org.ow2.frascati.jaxb.test.message.Message

public class Message
extends java.lang.Object

Java class for MessageType complex type.

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

 <complexType name="MessageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="date" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="from" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="to" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="subject" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="body" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String body
           
protected  javax.xml.datatype.XMLGregorianCalendar date
           
protected  java.lang.String from
           
protected  int id
           
protected  java.lang.String subject
           
protected  java.lang.String to
           
 
Constructor Summary
Message()
           
 
Method Summary
 java.lang.String getBody()
          Gets the value of the body property.
 javax.xml.datatype.XMLGregorianCalendar getDate()
          Gets the value of the date property.
 java.lang.String getFrom()
          Gets the value of the from property.
 int getId()
          Gets the value of the id property.
 java.lang.String getSubject()
          Gets the value of the subject property.
 java.lang.String getTo()
          Gets the value of the to property.
 void setBody(java.lang.String value)
          Sets the value of the body property.
 void setDate(javax.xml.datatype.XMLGregorianCalendar value)
          Sets the value of the date property.
 void setFrom(java.lang.String value)
          Sets the value of the from property.
 void setId(int value)
          Sets the value of the id property.
 void setSubject(java.lang.String value)
          Sets the value of the subject property.
 void setTo(java.lang.String value)
          Sets the value of the to property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

date

protected javax.xml.datatype.XMLGregorianCalendar date

from

protected java.lang.String from

to

protected java.lang.String to

subject

protected java.lang.String subject

body

protected java.lang.String body

id

protected int id
Constructor Detail

Message

public Message()
Method Detail

getDate

public javax.xml.datatype.XMLGregorianCalendar getDate()
Gets the value of the date property.

Returns:
possible object is XMLGregorianCalendar

setDate

public void setDate(javax.xml.datatype.XMLGregorianCalendar value)
Sets the value of the date property.

Parameters:
value - allowed object is XMLGregorianCalendar

getFrom

public java.lang.String getFrom()
Gets the value of the from property.

Returns:
possible object is String

setFrom

public void setFrom(java.lang.String value)
Sets the value of the from property.

Parameters:
value - allowed object is String

getTo

public java.lang.String getTo()
Gets the value of the to property.

Returns:
possible object is String

setTo

public void setTo(java.lang.String value)
Sets the value of the to property.

Parameters:
value - allowed object is String

getSubject

public java.lang.String getSubject()
Gets the value of the subject property.

Returns:
possible object is String

setSubject

public void setSubject(java.lang.String value)
Sets the value of the subject property.

Parameters:
value - allowed object is String

getBody

public java.lang.String getBody()
Gets the value of the body property.

Returns:
possible object is String

setBody

public void setBody(java.lang.String value)
Sets the value of the body property.

Parameters:
value - allowed object is String

getId

public int getId()
Gets the value of the id property.


setId

public void setId(int value)
Sets the value of the id property.



Copyright © 2007-2010 OW2 Consortium. All Rights Reserved.