com.ibm.broker.config.appdev

Class BaseMessageMap

  • java.lang.Object
    • com.ibm.broker.config.appdev.BaseMessageMap
  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    MessageMap, MessageMSLMap


    public abstract class BaseMessageMap
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String copyright 
    • Constructor Summary

      Constructors 
      Constructor and Description
      BaseMessageMap(java.io.File file)
      Creates a new MessageMap instance from the provided File.
      BaseMessageMap(java.lang.String messageMapName)
      Create a new map instance from which you can retrieve the expression.
    • Constructor Detail

      • BaseMessageMap

        public BaseMessageMap(java.lang.String messageMapName)
        Create a new map instance from which you can retrieve the expression.
      • BaseMessageMap

        public BaseMessageMap(java.io.File file)
                       throws java.io.IOException
        Creates a new MessageMap instance from the provided File.
        Parameters:
        file - File The given message map File.
        Throws:
        java.io.IOException - IOException.
    • Method Detail

      • save

        public BaseMessageMap save(java.lang.String directoryName)
                            throws java.io.IOException
        Saves the file to the file system in the directory specified including schema.
        Throws:
        java.io.IOException
      • setName

        public BaseMessageMap setName(java.lang.String name)
        Sets the message map name.
      • getName

        public java.lang.String getName()
        Returns:
        The name of the message map.
      • getMapMainEntry

        public abstract java.lang.String getMapMainEntry()
      • getBrokerSchema

        public java.lang.String getBrokerSchema()
        Returns:
        The schema of this message map.
      • setBrokerSchema

        public BaseMessageMap setBrokerSchema(java.lang.String brokerSchema)
        Sets the schema for this message map.