public final class FunctionCapability extends Object
This is a property of the WITSML server and can be queried as follows:
Capabilities serverCapabilities = witsmlServer.getServerCapabilities(); // Loop over all supported WMLS functions and identify the WITSML // types supported for each for (FunctionCapability functionCapability : serverCapabilities.getFunctions()) { System.out.println("Function: " + functionCapability.getFunctionName()) for (String witsmlType : functionCapability.getSupportedWitsmltypes()) { System.out.println(" Type: " + witsmlType); } }Note that the client program does not provide function capabilities.
This class is thread-safe.
Modifier and Type | Method and Description |
---|---|
String |
getFunctionName()
Return name of the function (such as "WMLS_GetFromStore" etc.)
|
Collection<String> |
getSupportedWitsmlTypes()
Return the WITSML types (such as "well", "wellbore",
"log" etc.) supported by this function.
|
String |
getVersion()
Return WITSML version this capability is valid for.
|
String |
toString() |
public String getFunctionName()
public String getVersion()
public Collection<String> getSupportedWitsmlTypes()
Copyright © 2023 Petroware AS - https://petroware.no