Package ch.systemsx.cisd.common.api
Class RpcServiceInterfaceVersionDTO
- java.lang.Object
-
- 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
Constructors Constructor Description RpcServiceInterfaceVersionDTO(java.lang.String name, java.lang.String urlSuffix, int majorVersion, int minorVersion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-