T
- implementation of this classpublic abstract class AbstractComparableServiceVersionDomainKey<T extends AbstractComparableServiceVersionDomainKey<T>> extends Object implements Comparable<T>
Modifier and Type | Field and Description |
---|---|
private String |
domain |
private ServiceOperatorKey |
sok |
Constructor and Description |
---|
AbstractComparableServiceVersionDomainKey(ServiceOperatorKey sok,
String domain)
constructor
|
AbstractComparableServiceVersionDomainKey(String service,
String version,
String domain)
constructor
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(T o) |
boolean |
equals(Object obj) |
String |
getDomain()
Get the domain
|
String |
getService()
Get the service
|
ServiceOperatorKey |
getServiceOperatorKey()
Get the
ServiceOperatorKey |
String |
getVersion()
Get the version
|
int |
hashCode() |
private void |
setDomain(String domain)
Set the domain
|
private void |
setServiceOperatorKey(ServiceOperatorKey sok)
Set the
ServiceOperatorKey to set |
String |
toString() |
private ServiceOperatorKey sok
private String domain
public AbstractComparableServiceVersionDomainKey(ServiceOperatorKey sok, String domain)
sok
- the ServiceOperatorKey
to setdomain
- the domain to setprivate void setServiceOperatorKey(ServiceOperatorKey sok)
ServiceOperatorKey
to setsok
- the ServiceOperatorKey
to setpublic ServiceOperatorKey getServiceOperatorKey()
ServiceOperatorKey
ServiceOperatorKey
public String getService()
public String getVersion()
public String getDomain()
private void setDomain(String domain)
domain
- the domain to setpublic int compareTo(T o)
compareTo
in interface Comparable<T extends AbstractComparableServiceVersionDomainKey<T>>
Copyright © 2012-2015 52north.org. All Rights Reserved.