org.codehaus.wadi.tribes
Class TribesEnvelope

java.lang.Object
  extended by org.codehaus.wadi.tribes.TribesEnvelope
All Implemented Interfaces:
java.io.Serializable, Envelope

public class TribesEnvelope
extends java.lang.Object
implements Envelope, java.io.Serializable

Title:

Description:

Copyright: Copyright (c) 2006

Company:

Version:
1.0
Author:
not attributable
See Also:
Serialized Form

Field Summary
protected  Address address
           
protected  java.io.Serializable payload
           
protected  Address replyto
           
protected  java.lang.String sourceCorrId
           
protected  java.lang.String targetCorrId
           
 
Constructor Summary
TribesEnvelope()
           
 
Method Summary
 Address getAddress()
          getAddress
 java.io.Serializable getPayload()
          getPayload
 java.util.Map<java.lang.String,java.lang.Object> getProperties()
           
 java.lang.Object getProperty(java.lang.String key)
           
 Quipu getQuipu()
           
 Address getReplyTo()
          getReplyTo
 java.lang.String getSourceCorrelationId()
          getSourceCorrelationId
 java.lang.String getTargetCorrelationId()
          getTargetCorrelationId
 void removeProperty(java.lang.String key)
           
 void setAddress(Address address)
          setAddress
 void setPayload(java.io.Serializable payload)
          setPayload
 void setProperty(java.lang.String key, java.lang.Object value)
           
 void setQuipu(Quipu quipu)
           
 void setReplyTo(Address replyTo)
          setReplyTo
 void setSourceCorrelationId(java.lang.String correlationId)
          setSourceCorrelationId
 void setTargetCorrelationId(java.lang.String correlationId)
          setTargetCorrelationId
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

address

protected Address address

payload

protected java.io.Serializable payload

replyto

protected Address replyto

sourceCorrId

protected java.lang.String sourceCorrId

targetCorrId

protected java.lang.String targetCorrId
Constructor Detail

TribesEnvelope

public TribesEnvelope()
Method Detail

getAddress

public Address getAddress()
getAddress

Specified by:
getAddress in interface Envelope
Returns:
Address

getPayload

public java.io.Serializable getPayload()
getPayload

Specified by:
getPayload in interface Envelope
Returns:
Serializable

getReplyTo

public Address getReplyTo()
getReplyTo

Specified by:
getReplyTo in interface Envelope
Returns:
Address

getSourceCorrelationId

public java.lang.String getSourceCorrelationId()
getSourceCorrelationId

Specified by:
getSourceCorrelationId in interface Envelope
Returns:
String

getTargetCorrelationId

public java.lang.String getTargetCorrelationId()
getTargetCorrelationId

Specified by:
getTargetCorrelationId in interface Envelope
Returns:
String

setAddress

public void setAddress(Address address)
setAddress

Specified by:
setAddress in interface Envelope
Parameters:
address - Address

setPayload

public void setPayload(java.io.Serializable payload)
setPayload

Specified by:
setPayload in interface Envelope
Parameters:
payload - Serializable

setReplyTo

public void setReplyTo(Address replyTo)
setReplyTo

Specified by:
setReplyTo in interface Envelope
Parameters:
replyTo - Address

setSourceCorrelationId

public void setSourceCorrelationId(java.lang.String correlationId)
setSourceCorrelationId

Parameters:
correlationId - String

setTargetCorrelationId

public void setTargetCorrelationId(java.lang.String correlationId)
setTargetCorrelationId

Specified by:
setTargetCorrelationId in interface Envelope
Parameters:
correlationId - String

getProperties

public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Specified by:
getProperties in interface Envelope

getProperty

public java.lang.Object getProperty(java.lang.String key)
Specified by:
getProperty in interface Envelope

removeProperty

public void removeProperty(java.lang.String key)
Specified by:
removeProperty in interface Envelope

setProperty

public void setProperty(java.lang.String key,
                        java.lang.Object value)
Specified by:
setProperty in interface Envelope

getQuipu

public Quipu getQuipu()
Specified by:
getQuipu in interface Envelope

setQuipu

public void setQuipu(Quipu quipu)
Specified by:
setQuipu in interface Envelope

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011. All Rights Reserved.