Class Config


  • public class Config
    extends Object
    Class to parse the part of infobase configuration file into an object.
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • copy

        public Config copy()
        Creates a copy of the instance.
        Returns:
        the copy instance, never null
      • getDatabase

        public IDatabase getDatabase()
        Returns:
        database, never null
      • setDatabase

        public void setDatabase​(IDatabase database)
        Set database
        Parameters:
        database - to set, cannot be null
      • getInfobase

        public Infobase getInfobase()
        Returns:
        server, never null
      • setInfobase

        public void setInfobase​(Infobase infobase)
        Set infobase
        Parameters:
        infobase - to set, cannot be null
      • getServer

        public Server getServer()
        Returns:
        the server
      • setServer

        public void setServer​(Server server)
        Parameters:
        server - the server to set
      • getGates

        public Gates getGates()
        Returns:
        the gates
      • setGates

        public void setGates​(Gates gates)
        Parameters:
        gates - the gates to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object