Package org.n52.iceland.request.operator
Class RequestOperatorKey
java.lang.Object
org.n52.iceland.request.operator.RequestOperatorKey
- All Implemented Interfaces:
Comparable<RequestOperatorKey>,DefaultActive
public class RequestOperatorKey
extends Object
implements Comparable<RequestOperatorKey>, DefaultActive
Key to identify a
RequestOperator. The RequestOperatorKey consists of service, version and operation
name.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionRequestOperatorKey(String service, String version, Enum<?> operationName) Create a newRequestOperatorKey.RequestOperatorKey(String service, String version, Enum<?> operationName, boolean defaultActive) Create a newRequestOperatorKey.RequestOperatorKey(String service, String version, String operationName) Create a newRequestOperatorKey.RequestOperatorKey(String service, String version, String operationName, boolean defaultActive) Create a newRequestOperatorKey.RequestOperatorKey(OwsServiceKey sok, Enum<?> operationName) Create a newRequestOperatorKey.RequestOperatorKey(OwsServiceKey sok, Enum<?> operationName, boolean defaultActive) Create a newRequestOperatorKey.RequestOperatorKey(OwsServiceKey sok, String operationName) Create a newRequestOperatorKey.RequestOperatorKey(OwsServiceKey sok, String operationName, boolean defaultActive) Create a newRequestOperatorKey. -
Method Summary
-
Constructor Details
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
sok- the service operator keyoperationName- the operation name
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
sok- the service keyoperationName- the operation namedefaultActive- if this operation should be active by default
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
service- the serviceversion- the versionoperationName- the operation name
-
RequestOperatorKey
public RequestOperatorKey(String service, String version, String operationName, boolean defaultActive) Create a newRequestOperatorKey.- Parameters:
service- the serviceversion- the versionoperationName- the operation namedefaultActive- if this operation should be active by default
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
sok- the service keyoperationName- the operation name
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
sok- the service keyoperationName- the operation namedefaultActive- if this operation should be active by default
-
RequestOperatorKey
Create a newRequestOperatorKey.- Parameters:
service- the serviceversion- the versionoperationName- the operation name
-
RequestOperatorKey
public RequestOperatorKey(String service, String version, Enum<?> operationName, boolean defaultActive) Create a newRequestOperatorKey.- Parameters:
service- the serviceversion- the versionoperationName- the operation namedefaultActive- if this operation should be active by default
-
-
Method Details
-
getServiceOperatorKey
- Returns:
- the
OwsServiceKey
-
getService
- Returns:
- The service name
-
getVersion
- Returns:
- The service version
-
getOperationName
- Returns:
- The operation name
-
isDefaultActive
public boolean isDefaultActive()- Specified by:
isDefaultActivein interfaceDefaultActive- Returns:
true, if this operation should be active by default
-
compareTo
- Specified by:
compareToin interfaceComparable<RequestOperatorKey>
-
equals
-
hashCode
public int hashCode() -
toString
-