org.talend.esb.sam.common.event
Class MessageInfo

java.lang.Object
  extended by org.talend.esb.sam.common.event.MessageInfo
All Implemented Interfaces:
Serializable

public class MessageInfo
extends Object
implements Serializable

The Class MessageInfo using to define information related to message.

See Also:
Serialized Form

Constructor Summary
MessageInfo()
          Instantiates a new message info.
MessageInfo(String messageId, String flowId, String portType, String operationName, String transportType)
          Instantiates a new message info.
 
Method Summary
 boolean equals(Object obj)
           
 String getFlowId()
          Gets the flow id.
 String getMessageId()
          Gets the message id.
 String getOperationName()
          Gets the operation name.
 String getPortType()
          Gets the port type.
 String getTransportType()
          Gets the transport type.
 int hashCode()
           
 void setFlowId(String flowId)
          Sets the flow id.
 void setMessageId(String messageId)
          Sets the message id.
 void setOperationName(String operationName)
          Sets the operation name.
 void setPortType(String portType)
          Sets the port type.
 void setTransportType(String transportType)
          Sets the transport type.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageInfo

public MessageInfo(String messageId,
                   String flowId,
                   String portType,
                   String operationName,
                   String transportType)
Instantiates a new message info.

Parameters:
messageId - the message id
flowId - the flow id
portType - the port type
operationName - the operation name
transportType - the transport type

MessageInfo

public MessageInfo()
Instantiates a new message info.

Method Detail

getMessageId

public String getMessageId()
Gets the message id.

Returns:
the message id

setMessageId

public void setMessageId(String messageId)
Sets the message id.

Parameters:
messageId - the new message id

getFlowId

public String getFlowId()
Gets the flow id.

Returns:
the flow id

setFlowId

public void setFlowId(String flowId)
Sets the flow id.

Parameters:
flowId - the new flow id

getPortType

public String getPortType()
Gets the port type.

Returns:
the port type

setPortType

public void setPortType(String portType)
Sets the port type.

Parameters:
portType - the new port type

getOperationName

public String getOperationName()
Gets the operation name.

Returns:
the operation name

setOperationName

public void setOperationName(String operationName)
Sets the operation name.

Parameters:
operationName - the new operation name

getTransportType

public String getTransportType()
Gets the transport type.

Returns:
the transport type

setTransportType

public void setTransportType(String transportType)
Sets the transport type.

Parameters:
transportType - the new transport type

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011–2014 Talend Inc.. All rights reserved.