ch.systemsx.cisd.common.api
Class RpcServiceInterfaceVersionDTO

java.lang.Object
  extended by ch.systemsx.cisd.common.api.RpcServiceInterfaceVersionDTO
All Implemented Interfaces:
java.io.Serializable

public class RpcServiceInterfaceVersionDTO
extends java.lang.Object
implements java.io.Serializable

Describes an RPC interface supported by the server.

See Also:
Serialized Form

Constructor Summary
RpcServiceInterfaceVersionDTO(java.lang.String name, java.lang.String urlSuffix, int majorVersion, int minorVersion)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getInterfaceName()
          The name of this interface used for identification.
 int getMajorVersion()
          The major version of the interface.
 int getMinorVersion()
          The major version of the interface.
 java.lang.String getUrlSuffix()
          The suffix added to the server's URL to produce the URL for this interface.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RpcServiceInterfaceVersionDTO

public RpcServiceInterfaceVersionDTO(java.lang.String name,
                                     java.lang.String urlSuffix,
                                     int majorVersion,
                                     int minorVersion)
Method Detail

getInterfaceName

public java.lang.String getInterfaceName()
The name of this interface used for identification.


getUrlSuffix

public java.lang.String getUrlSuffix()
The suffix added to the server's URL to produce the URL for this interface. Used by a service factory to create a proxy to the service.


getMajorVersion

public int getMajorVersion()
The major version of the interface. E.g., an interface with version 2.11 has major version 2.


getMinorVersion

public int getMinorVersion()
The major version of the interface. E.g., an interface with version 2.11 has minor version 11.


equals

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

hashCode

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

toString

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