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.SerializableDescribes 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 booleanequals(java.lang.Object obj)java.lang.StringgetInterfaceName()The name of this interface used for identification.intgetMajorVersion()The major version of the interface.intgetMinorVersion()The major version of the interface.java.lang.StringgetUrlSuffix()The suffix added to the server's URL to produce the URL for this interface.inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-