fr.etai.xat2v2.obj
Class Message

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

public class Message
extends Object
implements Serializable

Message to deliver. A Message can be - an error message. - a business message - a user message - an acknowledgment message

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="message-category" type="{http://xat2.etai.fr}MessageCategoryEnumType"/>
         <element name="user-description" type="{http://xat2.etai.fr}ClassificationType" minOccurs="0"/>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="technical-description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="classification-list" type="{http://xat2.etai.fr}ClassificationListType" minOccurs="0"/>
         <element name="request-list" type="{http://xat2.etai.fr}UriServiceListType" minOccurs="0"/>
       </sequence>
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="internal-id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="action-internal-id" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Constructor Summary
Message()
           
 
Method Summary
 void addClassification(Classification cl)
           
 void addRequest(AttributedURI uri)
           
 void beforeMarshal(Marshaller m)
           
 Action getActionInternalId()
          Gets the value of the actionInternalId property.
 List<Classification> getClassificationList()
          Gets the value of the classificationList property.
 String getComment()
          Gets the value of the comment property.
 String getInternalId()
          Gets the value of the internalId property.
 MessageCategoryEnum getMessageCategory()
          Gets the value of the messageCategory property.
 List<AttributedURI> getRequestList()
          Gets the value of the requestList property.
 String getSource()
          Gets the value of the source property.
 String getTechnicalDescription()
          Gets the value of the technicalDescription property.
 Classification getUserDescription()
          Gets the value of the userDescription property.
 void setActionInternalId(Action value)
          Sets the value of the actionInternalId property.
 void setClassificationList(List<Classification> value)
          Sets the value of the classificationList property.
 void setComment(String value)
          Sets the value of the comment property.
 void setInternalId(String value)
          Sets the value of the internalId property.
 void setMessageCategory(MessageCategoryEnum value)
          Sets the value of the messageCategory property.
 void setRequestList(List<AttributedURI> value)
          Sets the value of the requestList property.
 void setSource(String value)
          Sets the value of the source property.
 void setTechnicalDescription(String value)
          Sets the value of the technicalDescription property.
 void setUserDescription(Classification value)
          Sets the value of the userDescription property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message

public Message()
Method Detail

getMessageCategory

public MessageCategoryEnum getMessageCategory()
Gets the value of the messageCategory property.

Returns:
possible object is MessageCategoryEnum

setMessageCategory

public void setMessageCategory(MessageCategoryEnum value)
Sets the value of the messageCategory property.

Parameters:
value - allowed object is MessageCategoryEnum

getUserDescription

public Classification getUserDescription()
Gets the value of the userDescription property.

Returns:
possible object is Classification

setUserDescription

public void setUserDescription(Classification value)
Sets the value of the userDescription property.

Parameters:
value - allowed object is Classification

getComment

public String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

public void setComment(String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

getTechnicalDescription

public String getTechnicalDescription()
Gets the value of the technicalDescription property.

Returns:
possible object is String

setTechnicalDescription

public void setTechnicalDescription(String value)
Sets the value of the technicalDescription property.

Parameters:
value - allowed object is String

getClassificationList

public List<Classification> getClassificationList()
Gets the value of the classificationList property.

Returns:
possible object is ClassificationListType

setClassificationList

public void setClassificationList(List<Classification> value)
Sets the value of the classificationList property.

Parameters:
value - allowed object is ClassificationListType

addClassification

public void addClassification(Classification cl)

getRequestList

public List<AttributedURI> getRequestList()
Gets the value of the requestList property.

Returns:
possible object is UriServiceListType

setRequestList

public void setRequestList(List<AttributedURI> value)
Sets the value of the requestList property.

Parameters:
value - allowed object is UriServiceListType

addRequest

public void addRequest(AttributedURI uri)

getSource

public String getSource()
Gets the value of the source property.

Returns:
possible object is String

setSource

public void setSource(String value)
Sets the value of the source property.

Parameters:
value - allowed object is String

getInternalId

public String getInternalId()
Gets the value of the internalId property.

Returns:
possible object is String

setInternalId

public void setInternalId(String value)
Sets the value of the internalId property.

Parameters:
value - allowed object is String

getActionInternalId

public Action getActionInternalId()
Gets the value of the actionInternalId property.

Returns:
possible object is Object

setActionInternalId

public void setActionInternalId(Action value)
Sets the value of the actionInternalId property.

Parameters:
value - allowed object is Object

beforeMarshal

public void beforeMarshal(Marshaller m)


Copyright © 2012. All Rights Reserved.