Package org.n52.iceland.ogc
Class AbstractComparableServiceVersionDomainKey<T extends AbstractComparableServiceVersionDomainKey<T>>
- java.lang.Object
-
- org.n52.iceland.ogc.AbstractComparableServiceVersionDomainKey<T>
-
- Type Parameters:
T- implementation of this class
- All Implemented Interfaces:
Comparable<T>
- Direct Known Subclasses:
OwsOperationMetadataExtensionProviderKey
public abstract class AbstractComparableServiceVersionDomainKey<T extends AbstractComparableServiceVersionDomainKey<T>> extends Object implements Comparable<T>
Abstract class for comparable keys with parameters service, version and domain- Since:
- 1.0.0
-
-
Constructor Summary
Constructors Constructor Description AbstractComparableServiceVersionDomainKey(String service, String version, String domain)constructorAbstractComparableServiceVersionDomainKey(OwsServiceKey sok, String domain)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(T other)booleanequals(Object obj)StringgetDomain()Get the domainStringgetService()Get the serviceOwsServiceKeygetServiceOperatorKey()Get theOwsServiceKeyStringgetVersion()Get the versioninthashCode()StringtoString()
-
-
-
Constructor Detail
-
AbstractComparableServiceVersionDomainKey
public AbstractComparableServiceVersionDomainKey(OwsServiceKey sok, String domain)
constructor- Parameters:
sok- theOwsServiceKeyto setdomain- the domain to set
-
-
Method Detail
-
getServiceOperatorKey
public OwsServiceKey getServiceOperatorKey()
Get theOwsServiceKey- Returns:
- the
OwsServiceKey
-
getService
public String getService()
Get the service- Returns:
- the service
-
getVersion
public String getVersion()
Get the version- Returns:
- the version
-
getDomain
public String getDomain()
Get the domain- Returns:
- the domain
-
compareTo
public int compareTo(T other)
- Specified by:
compareToin interfaceComparable<T extends AbstractComparableServiceVersionDomainKey<T>>
-
-