Class StoredServer


  • public class StoredServer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      StoredServer()
      Default Constructor sets the properties to nulls
      StoredServer​(java.lang.String storedServerName, java.lang.String storedServerDescription, java.lang.String serverType)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getServerStatus()
      Get the status of the stored Server
      java.lang.String getServerType()
      Get the type of the stored Server
      java.lang.String getStoredServerDescription()
      Get the storedServer description
      java.lang.String getStoredServerName()
      Get the storedServer name
      int hashCode()  
      void setServerStatus​(java.lang.String serverStatus)
      Set the status for the storedServer
      void setServerType​(java.lang.String serverType)
      Set the type for the storedServer
      void setStoredServerDescription​(java.lang.String storedServerDescription)
      Set the description for the storedServer
      void setStoredServerName​(java.lang.String storedServerName)
      Set a meaningful name for the storedServer
      java.lang.String toString()  
      java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
      toString builder
      • Methods inherited from class java.lang.Object

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

      • StoredServer

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

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

      • getStoredServerName

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

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

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

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

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

        public void setServerType​(java.lang.String serverType)
        Set the type for the storedServer
        Parameters:
        serverType - set storedServer type
      • setServerStatus

        public void setServerStatus​(java.lang.String serverStatus)
        Set the status for the storedServer
        Parameters:
        serverStatus - set storedServer status
      • getServerStatus

        public java.lang.String getServerStatus()
        Get the status of the stored Server
        Returns:
        server status
      • toString

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

        public java.lang.StringBuilder toString​(java.lang.StringBuilder sb)
        toString builder
        Parameters:
        sb - StringBuffer to build details in
        Returns:
        updated StringBuffer
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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