ie.nuigalway.ecrg.jade.jmsagentgateway.onto
Class JmsMessage

java.lang.Object
  |
  +--ie.nuigalway.ecrg.jade.jmsagentgateway.onto.JmsMessage
All Implemented Interfaces:
jade.content.Concept, jade.util.leap.Serializable, java.io.Serializable, jade.content.Term

public class JmsMessage
extends java.lang.Object
implements jade.content.Concept

Concept used to represent a JMS Message Protege name: JmsMessage

Version:
2004/03/31, 18:54:36
Author:
ontology bean generator
See Also:
Serialized Form

Field Summary
private  boolean deliveryMode
          Set to TRUE for PERSISTENT Set to FALSE for NON_PERSISTENT Protege name: deliveryMode
private  java.lang.String destination
          JMS Destination Protege name: destination
private  java.lang.String payload
          Message Payload Protege name: payload
private  int priority
          Message Priority Protege name: priority
private  jade.util.leap.List properties
          Collection of Properties Protege name: properties
private  int timeToLive
          Time-to-Live value of message Protege name: timeToLive
 
Constructor Summary
JmsMessage()
           
 
Method Summary
 void addProperties(Property elem)
          Adds a feature to the Properties attribute of the JmsMessage object
 void clearAllProperties()
          Description of the Method
 jade.util.leap.Iterator getAllProperties()
          Gets the allProperties attribute of the JmsMessage object
 boolean getDeliveryMode()
          Gets the deliveryMode attribute of the JmsMessage object
 java.lang.String getDestination()
          Gets the destination attribute of the JmsMessage object
 java.lang.String getPayload()
          Gets the payload attribute of the JmsMessage object
 int getPriority()
          Gets the priority attribute of the JmsMessage object
 jade.util.leap.List getProperties()
          Gets the properties attribute of the JmsMessage object
 int getTimeToLive()
          Gets the timeToLive attribute of the JmsMessage object
 boolean removeProperties(Property elem)
          Description of the Method
 void setDeliveryMode(boolean value)
          Sets the deliveryMode attribute of the JmsMessage object
 void setDestination(java.lang.String value)
          Sets the destination attribute of the JmsMessage object
 void setPayload(java.lang.String value)
          Sets the payload attribute of the JmsMessage object
 void setPriority(int value)
          Sets the priority attribute of the JmsMessage object
 void setProperties(jade.util.leap.List l)
          Sets the properties attribute of the JmsMessage object
 void setTimeToLive(int value)
          Sets the timeToLive attribute of the JmsMessage object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

private java.lang.String destination
JMS Destination Protege name: destination


timeToLive

private int timeToLive
Time-to-Live value of message Protege name: timeToLive


deliveryMode

private boolean deliveryMode
Set to TRUE for PERSISTENT Set to FALSE for NON_PERSISTENT Protege name: deliveryMode


properties

private jade.util.leap.List properties
Collection of Properties Protege name: properties


priority

private int priority
Message Priority Protege name: priority


payload

private java.lang.String payload
Message Payload Protege name: payload

Constructor Detail

JmsMessage

public JmsMessage()
Method Detail

setDestination

public void setDestination(java.lang.String value)
Sets the destination attribute of the JmsMessage object

Parameters:
value - The new destination value

getDestination

public java.lang.String getDestination()
Gets the destination attribute of the JmsMessage object

Returns:
The destination value

setTimeToLive

public void setTimeToLive(int value)
Sets the timeToLive attribute of the JmsMessage object

Parameters:
value - The new timeToLive value

getTimeToLive

public int getTimeToLive()
Gets the timeToLive attribute of the JmsMessage object

Returns:
The timeToLive value

setDeliveryMode

public void setDeliveryMode(boolean value)
Sets the deliveryMode attribute of the JmsMessage object

Parameters:
value - The new deliveryMode value

getDeliveryMode

public boolean getDeliveryMode()
Gets the deliveryMode attribute of the JmsMessage object

Returns:
The deliveryMode value

addProperties

public void addProperties(Property elem)
Adds a feature to the Properties attribute of the JmsMessage object

Parameters:
elem - The feature to be added to the Properties attribute

removeProperties

public boolean removeProperties(Property elem)
Description of the Method

Parameters:
elem - Description of the Parameter
Returns:
Description of the Return Value

clearAllProperties

public void clearAllProperties()
Description of the Method


getAllProperties

public jade.util.leap.Iterator getAllProperties()
Gets the allProperties attribute of the JmsMessage object

Returns:
The allProperties value

getProperties

public jade.util.leap.List getProperties()
Gets the properties attribute of the JmsMessage object

Returns:
The properties value

setProperties

public void setProperties(jade.util.leap.List l)
Sets the properties attribute of the JmsMessage object

Parameters:
l - The new properties value

setPriority

public void setPriority(int value)
Sets the priority attribute of the JmsMessage object

Parameters:
value - The new priority value

getPriority

public int getPriority()
Gets the priority attribute of the JmsMessage object

Returns:
The priority value

setPayload

public void setPayload(java.lang.String value)
Sets the payload attribute of the JmsMessage object

Parameters:
value - The new payload value

getPayload

public java.lang.String getPayload()
Gets the payload attribute of the JmsMessage object

Returns:
The payload value