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
ConstructorsConstructorDescriptionAbstractComparableServiceVersionDomainKey(String service, String version, String domain) constructorAbstractComparableServiceVersionDomainKey(OwsServiceKey sok, String domain) constructor -
Method Summary
Modifier and TypeMethodDescriptionintbooleanGet the domainGet the serviceGet theOwsServiceKeyGet the versioninthashCode()toString()
-
Constructor Details
-
AbstractComparableServiceVersionDomainKey
constructor- Parameters:
sok- theOwsServiceKeyto setdomain- the domain to set
-
AbstractComparableServiceVersionDomainKey
constructor- Parameters:
service- the service to setversion- the version to setdomain- the domain to set
-
-
Method Details
-
getServiceOperatorKey
Get theOwsServiceKey- Returns:
- the
OwsServiceKey
-
getService
Get the service- Returns:
- the service
-
getVersion
Get the version- Returns:
- the version
-
getDomain
Get the domain- Returns:
- the domain
-
compareTo
- Specified by:
compareToin interfaceComparable<T extends AbstractComparableServiceVersionDomainKey<T>>
-
equals
-
hashCode
public int hashCode() -
toString
-