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

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

public class Message
extends 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  String body
           
protected  XMLGregorianCalendar date
           
protected  String from
           
protected  int id
           
protected  String subject
           
protected  String to
           
 
Constructor Summary
Message()
           
 
Method Summary
 String getBody()
          Gets the value of the body property.
 XMLGregorianCalendar getDate()
          Gets the value of the date property.
 String getFrom()
          Gets the value of the from property.
 int getId()
          Gets the value of the id property.
 String getSubject()
          Gets the value of the subject property.
 String getTo()
          Gets the value of the to property.
 void setBody(String value)
          Sets the value of the body property.
 void setDate(XMLGregorianCalendar value)
          Sets the value of the date property.
 void setFrom(String value)
          Sets the value of the from property.
 void setId(int value)
          Sets the value of the id property.
 void setSubject(String value)
          Sets the value of the subject property.
 void setTo(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 XMLGregorianCalendar date

from

protected String from

to

protected String to

subject

protected String subject

body

protected String body

id

protected int id
Constructor Detail

Message

public Message()
Method Detail

getDate

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

Returns:
possible object is XMLGregorianCalendar

setDate

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

Parameters:
value - allowed object is XMLGregorianCalendar

getFrom

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

Returns:
possible object is String

setFrom

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

Parameters:
value - allowed object is String

getTo

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

Returns:
possible object is String

setTo

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

Parameters:
value - allowed object is String

getSubject

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

Returns:
possible object is String

setSubject

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

Parameters:
value - allowed object is String

getBody

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

Returns:
possible object is String

setBody

public void setBody(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-2011 OW2 Consortium. All Rights Reserved.