public final class WitsmlUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateId(Object server,
String witsmlType,
String name,
WitsmlObject parent)
Generate a unique ID.
|
static String |
toString(Object instance,
int indent)
Build a string representation of the specified instance.
|
public static String generateId(Object server, String witsmlType, String name, WitsmlObject parent)
server
- Server of instance that should get ID. Non-null.
Either a WitsmlServer or an EtpServer instance.witsmlType
- WITSML type of instance that will get ID. Null if N/A.name
- Name of instance that will get ID. Null if N/A.parent
- Parent of instance that will get ID. Null if at root level or if N/A,IllegalArgumentException
- If server is null or of unknown type.Copyright © 2023 Petroware AS - https://petroware.no