com.ibm.uddi.promoter

Class UddiEntityKeys

  • java.lang.Object
    • com.ibm.uddi.promoter.UddiEntityKeys
  • All Implemented Interfaces:
    com.ibm.uddi.promoter.CommandLineConstants, PromoterConstants


    public class UddiEntityKeys
    extends java.lang.Object
    implements PromoterConstants
    Container class for lists of keys for each of the UDDI entity types.

    • Constructor Detail

      • UddiEntityKeys

        public UddiEntityKeys()
    • Method Detail

      • getBindings

        public java.util.List getBindings()
        Returns the binding keys.

        Returns:
        List (unmodifiable).
      • getBusinesses

        public java.util.List getBusinesses()
        Returns the business keys.

        Returns:
        List (unmodifiable).
      • getServices

        public java.util.List getServices()
        Returns the service keys.

        Returns:
        List (unmodifiable).
      • getTModels

        public java.util.List getTModels()
        Returns the tModel keys.

        Returns:
        List (unmodifiable).
      • setBindings

        public void setBindings(java.util.List bindings)
        Sets the binding keys.

        Parameters:
        bindings -
      • setBusinesses

        public void setBusinesses(java.util.List businesses)
        Sets the business keys.

        Parameters:
        businesses -
      • setServices

        public void setServices(java.util.List services)
        Sets the service keys.

        Parameters:
        services -
      • setTModels

        public void setTModels(java.util.List tModels)
        Sets the tModel keys.

        Parameters:
        tModels -
      • getKeyCount

        public int getKeyCount()
        Returns total number of keys in all collections.

        Returns:
        int
      • getKeysAsProperties

        public java.util.Properties getKeysAsProperties()
        Creates a Properties with the required content for a keys file.

        Returns:
        Properties
      • writeKeysAsPropertiesFile

        public void writeKeysAsPropertiesFile(java.io.OutputStream out,
                                     java.lang.String comments)
                                       throws java.io.IOException
        Writes a properties file to supplied OutputStream in required format for a keys file.

        Note that according to the JavaDocs for the store method of Properties, "The key and value characters #, !, =, and : are written with a preceding slash to ensure that they are properly loaded." As a result, the properties file generated by this method will contain '\' before the ':' in the tModels section, because tModelKeys are prefixed with 'UUID:'.

        Parameters:
        out -
        comments - - additional (optional) comments
        Throws:
        java.io.IOException
IBM WebSphere Application ServerTM
Release 8.5