com.ibm.ws.tpv.engine.utils

Class ServerBean

  • java.lang.Object
    • com.ibm.ws.tpv.engine.utils.ServerBean
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable


    public class ServerBean
    extends java.lang.Object
    implements java.lang.Comparable, java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      protected java.lang.String node 
      protected java.lang.String server 
    • Constructor Summary

      Constructors 
      Constructor and Description
      ServerBean(java.lang.String node, java.lang.String server)
      Creates a Server Bean for a specific node and server
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int compareTo(java.lang.Object that) 
      int compareTo(ServerBean that)
      Compares two Server Bean objects
      boolean equals(java.lang.Object that) 
      java.lang.String getNode()
      Returns the node of the ServerBean.
      java.lang.String getServer()
      Returns the server of the ServerBean.
      int hashCode() 
      void setNode(java.lang.String node)
      Sets the node for the ServerBean.
      void setServer(java.lang.String server)
      Sets the server of the ServerBean.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • node

        protected java.lang.String node
      • server

        protected java.lang.String server
    • Constructor Detail

      • ServerBean

        public ServerBean(java.lang.String node,
                  java.lang.String server)
        Creates a Server Bean for a specific node and server
    • Method Detail

      • compareTo

        public int compareTo(java.lang.Object that)
        Specified by:
        compareTo in interface java.lang.Comparable
      • compareTo

        public int compareTo(ServerBean that)
        Compares two Server Bean objects
        Returns:
        int
      • equals

        public boolean equals(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • getNode

        public java.lang.String getNode()
        Returns the node of the ServerBean.
        Returns:
        String.
      • setNode

        public void setNode(java.lang.String node)
        Sets the node for the ServerBean.
        Parameters:
        node. -
      • getServer

        public java.lang.String getServer()
        Returns the server of the ServerBean.
        Returns:
        String.
      • setServer

        public void setServer(java.lang.String server)
        Sets the server of the ServerBean.
        Parameters:
        server. -
      • toString

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

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
IBM WebSphere Application ServerTM
Release 9.0