public class CapabilitiesExtensionKey extends Object implements Comparable<CapabilitiesExtensionKey>
CapabilitiesExtension
key class to identify CapabilitiesExtensions.Modifier and Type | Field and Description |
---|---|
private String |
service |
private String |
version |
Constructor and Description |
---|
CapabilitiesExtensionKey()
Default constructor
|
CapabilitiesExtensionKey(String service,
String version)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(CapabilitiesExtensionKey o) |
boolean |
equals(Object paramObject) |
String |
getService()
Get the key service
|
String |
getVersion()
Get the key version
|
int |
hashCode() |
void |
setService(String service)
Set the key service
|
void |
setVersion(String version)
Set the key version
|
String |
toString() |
public String getService()
public void setService(String service)
service
- service to setpublic String getVersion()
public void setVersion(String version)
version
- version to setpublic int compareTo(CapabilitiesExtensionKey o)
compareTo
in interface Comparable<CapabilitiesExtensionKey>
Copyright © 2012-2015 52north.org. All Rights Reserved.