public class ConcreteService
extends java.lang.Object
It Is created as a result to a query and contains a service interface and the matching between its operations and the list of operations' names given in the query.
Constructor and Description |
---|
ConcreteService()
Special use: information exchange over web.Should not be used for other purposes.
|
ConcreteService(java.util.List<java.lang.String> queryOperations,
ServiceInterface retrievedInterface)
Creates a complete ConcreteService object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBehavioralSpecificationURI()
Returns the behavioral specification URI of the service interface.
|
java.lang.String |
getEnactementURI()
Returns the enactment URI of the service interface.
|
java.util.HashMap<java.lang.String,OperationsList> |
getQuery2retrievedOperationsMapping()
Returns the matching between the service interface operations and the list of operations' names given
in the query.
|
java.util.List<java.lang.String> |
getQueryOperations()
Returns the query operations' names.
|
java.util.List<Operation> |
getRetrievedOperations(java.lang.String queryOperation)
Returns a list of operations that match an input operation name (query operation).
|
java.util.List<java.lang.String> |
getServiceInstancesURIs()
Returns the URIs of the service instances that are represented by the service interface.
|
ServiceInterface |
getServiceInterface()
Returns the service interface.
|
void |
setQuery2retrievedOperationsMapping(java.util.HashMap<java.lang.String,OperationsList> query2retrievedOperationsMapping)
Special use: information exchange over web.Should not be used for other purposes.
|
void |
setQueryOperations(java.util.List<java.lang.String> queryOperations)
Special use: information exchange over web.Should not be used for other purposes.
|
void |
setServiceInterface(ServiceInterface serviceInterface)
Special use: information exchange over web.Should not be used for other purposes.
|
public ConcreteService(java.util.List<java.lang.String> queryOperations, ServiceInterface retrievedInterface)
queryOperations
- A list of names of service operations.retrievedInterface
- The service interface that was retrieved as a result to a query.public ConcreteService()
public java.util.List<Operation> getRetrievedOperations(java.lang.String queryOperation)
queryOperation
- An operation name.public java.lang.String getBehavioralSpecificationURI()
public java.lang.String getEnactementURI()
public java.util.List<java.lang.String> getServiceInstancesURIs()
public void setQueryOperations(java.util.List<java.lang.String> queryOperations)
queryOperations
- A list of names of query operations.public void setServiceInterface(ServiceInterface serviceInterface)
serviceInterface
- The service interface.public void setQuery2retrievedOperationsMapping(java.util.HashMap<java.lang.String,OperationsList> query2retrievedOperationsMapping)
query2retrievedOperationsMapping
- The matching between the service interface operations and
the list of operations' names given in the query.public java.util.List<java.lang.String> getQueryOperations()
public ServiceInterface getServiceInterface()
public java.util.HashMap<java.lang.String,OperationsList> getQuery2retrievedOperationsMapping()