Class Configuration

  • All Implemented Interfaces:
    java.lang.Comparable<Configuration>

    public class Configuration
    extends Commentable
    implements java.lang.Comparable<Configuration>
    A configuration has either - a pid - or a factory pid and an alias (pid) and properties.
    • Constructor Detail

      • Configuration

        public Configuration​(java.lang.String pid,
                             java.lang.String factoryPid)
        Create a new configuration
        Parameters:
        pid - The pid or alias for a factory pid
        factoryPid - The factory pid
    • Method Detail

      • compareTo

        public int compareTo​(Configuration o)
        Specified by:
        compareTo in interface java.lang.Comparable<Configuration>
      • getPid

        public java.lang.String getPid()
        Get the pid. If this is a factory configuration, it returns the alias for the configuration
        Returns:
        The pid.
      • getFactoryPid

        public java.lang.String getFactoryPid()
        Return the factory pid
        Returns:
        The factory pid or null.
      • isSpecial

        public boolean isSpecial()
        Is this a special configuration?
        Returns:
        Special config
      • getProperties

        public java.util.Dictionary<java.lang.String,​java.lang.Object> getProperties()
        Get all properties of the configuration.
        Returns:
        The properties