fr.etai.xat2v2.obj
Class Xat2

java.lang.Object
  extended by fr.etai.xat2v2.obj.Xat2
All Implemented Interfaces:
Serializable

public class Xat2
extends Object
implements Serializable

This is the main object handled by the partners of a Xat2 session.

Java class for Xat2Type complex type.

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

 <complexType name="Xat2Type">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="date-list" type="{http://xat2.etai.fr}DateListType" minOccurs="0"/>
         <element name="version-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="message-list" type="{http://xat2.etai.fr}MessageListType" minOccurs="0"/>
         <element name="uri-list" type="{http://xat2.etai.fr}UriServiceListType" minOccurs="0"/>
         <element name="session-context" type="{http://xat2.etai.fr}SessionContextType" minOccurs="0"/>
         <element name="shuttle" type="{http://xat2.etai.fr}ShuttleType" minOccurs="0"/>
       </sequence>
       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="message-id" use="optional" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="correlation-id" use="optional" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Xat2()
           
 
Method Summary
 void addDate(ExplicitDate date)
           
 void addMessage(Message message)
           
 void addUri(AttributedURI uri)
           
 void addVersion(Classification version)
           
 void beforeMarshal(Marshaller m)
           
 String getCorrelationId()
          Gets the value of the correlationId property.
 List<ExplicitDate> getDateList()
          Gets the value of the dateList property.
 String getMessageId()
          Gets the value of the messageId property.
 List<Message> getMessageList()
          Gets the value of the messageList property.
 Sequence getSequence()
           
 SessionContext getSessionContext()
          Gets the value of the sessionContext property.
 Shuttle getShuttle()
          Gets the value of the shuttle property.
 List<AttributedURI> getUriList()
          Gets the value of the uriList property.
 String getVersion()
          Gets the value of the version property.
 List<Classification> getVersionList()
          Gets the value of the versionList property.
 void setCorrelationId(String value)
          Sets the value of the correlationId property.
 void setDateList(List<ExplicitDate> value)
          Sets the value of the dateList property.
 void setMessageId(String value)
          Sets the value of the messageId property.
 void setMessageList(List<Message> value)
          Sets the value of the messageList property.
 void setSequence(Sequence sequence)
           
 void setSessionContext(SessionContext value)
          Sets the value of the sessionContext property.
 void setShuttle(Shuttle value)
          Sets the value of the shuttle property.
 void setUriList(List<AttributedURI> value)
          Sets the value of the uriList property.
 void setVersion(String value)
          Sets the value of the version property.
 void setVersionList(List<Classification> value)
          Sets the value of the versionList property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Xat2

public Xat2()
Method Detail

getDateList

public List<ExplicitDate> getDateList()
Gets the value of the dateList property.

Returns:
possible object is DateListType

setDateList

public void setDateList(List<ExplicitDate> value)
Sets the value of the dateList property.

Parameters:
value - allowed object is DateListType

addDate

public void addDate(ExplicitDate date)

getVersionList

public List<Classification> getVersionList()
Gets the value of the versionList property.

Returns:
possible object is ClassificationListType

setVersionList

public void setVersionList(List<Classification> value)
Sets the value of the versionList property.

Parameters:
value - allowed object is ClassificationListType

addVersion

public void addVersion(Classification version)

getMessageList

public List<Message> getMessageList()
Gets the value of the messageList property.

Returns:
possible object is MessageListType

setMessageList

public void setMessageList(List<Message> value)
Sets the value of the messageList property.

Parameters:
value - allowed object is MessageListType

addMessage

public void addMessage(Message message)

getUriList

public List<AttributedURI> getUriList()
Gets the value of the uriList property.

Returns:
possible object is UriServiceListType

setUriList

public void setUriList(List<AttributedURI> value)
Sets the value of the uriList property.

Parameters:
value - allowed object is UriServiceListType

addUri

public void addUri(AttributedURI uri)

getSessionContext

public SessionContext getSessionContext()
Gets the value of the sessionContext property.

Returns:
possible object is SessionContext

setSessionContext

public void setSessionContext(SessionContext value)
Sets the value of the sessionContext property.

Parameters:
value - allowed object is SessionContext

getShuttle

public Shuttle getShuttle()
Gets the value of the shuttle property.

Returns:
possible object is Shuttle

setShuttle

public void setShuttle(Shuttle value)
Sets the value of the shuttle property.

Parameters:
value - allowed object is Shuttle

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getMessageId

public String getMessageId()
Gets the value of the messageId property.

Returns:
possible object is String

setMessageId

public void setMessageId(String value)
Sets the value of the messageId property.

Parameters:
value - allowed object is String

getCorrelationId

public String getCorrelationId()
Gets the value of the correlationId property.

Returns:
possible object is String

setCorrelationId

public void setCorrelationId(String value)
Sets the value of the correlationId property.

Parameters:
value - allowed object is String

beforeMarshal

public void beforeMarshal(Marshaller m)

getSequence

public Sequence getSequence()

setSequence

public void setSequence(Sequence sequence)


Copyright © 2012. All Rights Reserved.