com.ibm.commerce.messaging.notification.datatypes
Class TransportOverrideData

java.lang.Object
  com.ibm.commerce.messaging.notification.datatypes.TransportOverrideData
All Implemented Interfaces:
TransportOverride

public class TransportOverrideData
extends java.lang.Object
implements TransportOverride

The data structure to use to represent TransportOverride objects. This class is instantiated by the TransportOverrideFactory class only - it is never instantiated directly.


Field Summary
static java.lang.String COPYRIGHT
IBM Copyright field
Fields inherited from interface com.ibm.commerce.messaging.notification.datatypes.TransportOverride
FACTORY
Constructor Summary
TransportOverrideData(java.lang.String aTransportName, java.lang.String aMsgTypeName, TypedProperty attributes)
Constructor.
Method Summary
TypedProperty getAttributes()
Gets the attributes to override.
java.lang.String getMsgTypeName()
Gets the message type name.
java.lang.String getTransportName()
Gets the transport name.
void setAttributes(TypedProperty attributes)
Sets the attributes to override.
void setMsgTypeName(java.lang.String aMsgTypeName)
Sets the message type.
void setTransportName(java.lang.String aTransportName)
Sets the transport name.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
IBM Copyright field
See Also:
Constant Field Values
Constructor Detail

TransportOverrideData

public TransportOverrideData(java.lang.String aTransportName,
                             java.lang.String aMsgTypeName,
                             TypedProperty attributes)
Constructor.
Parameters:
aTransportName - the transport name to use
Method Detail

getTransportName

public java.lang.String getTransportName()
Gets the transport name.
Specified by:
getTransportName in interface TransportOverride
Returns:
transportName The transport name.

setTransportName

public void setTransportName(java.lang.String aTransportName)
Sets the transport name.
Specified by:
setTransportName in interface TransportOverride
Parameters:
aTransportName - The new transport name

getMsgTypeName

public java.lang.String getMsgTypeName()
Gets the message type name.
Specified by:
getMsgTypeName in interface TransportOverride
Returns:
msgTypeName The message type name

setMsgTypeName

public void setMsgTypeName(java.lang.String aMsgTypeName)
Sets the message type. Note that you can specify either a message type matching one of the msgtype_id's from the MSGSTORE table, or specify null to indicate that this transport override applies to any message type.
Specified by:
setMsgTypeName in interface TransportOverride
Parameters:
aMsgTypeName - Tthe new message type

getAttributes

public TypedProperty getAttributes()
Gets the attributes to override.
Specified by:
getAttributes in interface TransportOverride
Returns:
typedProeprty The TypedProperties to override.

setAttributes

public void setAttributes(TypedProperty attributes)
Sets the attributes to override.
Specified by:
setAttributes in interface TransportOverride
Parameters:
attributes - the new attributes to override.

Feedback