Class StoredServer


  • public class StoredServer
    extends Object
    • Constructor Detail

      • StoredServer

        public StoredServer()
        Default Constructor sets the properties to nulls
      • StoredServer

        public StoredServer​(String storedServerName,
                            String storedServerDescription,
                            String serverType)
        Constructor
        Parameters:
        storedServerName - storedServer name
        storedServerDescription - storedServer description
        serverType - meaningful name of the type of the server
    • Method Detail

      • getStoredServerName

        public String getStoredServerName()
        Get the storedServer name
        Returns:
        storedServer name
      • setStoredServerName

        public void setStoredServerName​(String storedServerName)
        Set a meaningful name for the storedServer
        Parameters:
        storedServerName - set storedServer name
      • getStoredServerDescription

        public String getStoredServerDescription()
        Get the storedServer description
        Returns:
        storedServer description
      • setStoredServerDescription

        public void setStoredServerDescription​(String storedServerDescription)
        Set the description for the storedServer
        Parameters:
        storedServerDescription - set storedServer description
      • getServerType

        public String getServerType()
        Get the type of the stored Server
        Returns:
        server type
      • setServerType

        public void setServerType​(String serverType)
        Set the type for the storedServer
        Parameters:
        serverType - set storedServer type
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object