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 that represents TransportOverride objects. This class is instantiated by the TransportOverrideFactory class only - it is never instantiated directly.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Constructor Summary

      Constructors 
      Constructor and Description
      TransportOverrideData(java.lang.String aTransportName, java.lang.String aMsgTypeName, TypedProperty attributes)
      This constructor sets the transport name, message type, and attributes.
    • 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)
        This constructor sets the transport name, message type, and attributes.
        Parameters:
        aTransportName - the transport name to use
        aMsgType - the message type to use
        aTypedProperty - the typed property to use
    • Method Detail

      • getTransportName

        public java.lang.String getTransportName()
        This method gets the transport name.
        Specified by:
        getTransportName in interface TransportOverride
        Returns:
        transportName The transport name.
      • setTransportName

        public void setTransportName(java.lang.String aTransportName)
        This method sets the transport name.
        Specified by:
        setTransportName in interface TransportOverride
        Parameters:
        aTransportName - The new transport name
      • getMsgTypeName

        public java.lang.String getMsgTypeName()
        This method 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)
        This method sets the message type. Specify either a message type matching a msgtype_id from the MSGSTORE table or null to indicate that this transport override applies to any message type.
        Specified by:
        setMsgTypeName in interface TransportOverride
        Parameters:
        aMsgTypeName - The new message type
      • getAttributes

        public TypedProperty getAttributes()
        This method gets the attributes to override.
        Specified by:
        getAttributes in interface TransportOverride
        Returns:
        typedProperty The TypedProperties to override.
      • setAttributes

        public void setAttributes(TypedProperty attributes)
        This method sets the attributes to override.
        Specified by:
        setAttributes in interface TransportOverride
        Parameters:
        the - TypedProperty to override.