Class DataHubServerInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class DataHubServerInfo
    extends java.lang.Object
    implements java.io.Serializable
    Describes a DataHub instance to be accessed.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DataHubServerInfo​(java.lang.String name, java.lang.String location, java.lang.String userName, java.lang.String password)
      Instantiates a configuration entry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getLocation()
      Retrieves location of the DataHub server described by this configuration entry.
      java.lang.String getName()
      Retrieves name of this configuration entry.
      java.lang.String getPassword()  
      java.lang.String getUserName()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DataHubServerInfo

        public DataHubServerInfo​(java.lang.String name,
                                 java.lang.String location,
                                 java.lang.String userName,
                                 java.lang.String password)
        Instantiates a configuration entry
        Parameters:
        name - name of the DataHub instance. It will be used to refer to this instance everywhere in the user interface.
        location - location of the DataHub instance. It will be used to access and exchange data with the DataHub server.
    • Method Detail

      • getName

        public java.lang.String getName()
        Retrieves name of this configuration entry.
        Returns:
        name of the DataHub server configuration
      • getLocation

        public java.lang.String getLocation()
        Retrieves location of the DataHub server described by this configuration entry.
        Returns:
        some URI that can be interpreted by the program in order to access the DataHub server.
      • getUserName

        public java.lang.String getUserName()
      • getPassword

        public java.lang.String getPassword()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object