public enum EtpProtocol extends Enum<EtpProtocol>
Enum Constant and Description |
---|
ChannelDataFrame |
ChannelStreaming |
Core |
DataArray |
Discovery |
GrowingObject |
Store |
StoreNotification |
WitsmlSoap |
Modifier and Type | Method and Description |
---|---|
static EtpProtocol |
get(int id)
Find protocol of the specified ID.
|
int |
getId()
Return ID of this protocol.
|
String |
getName()
Return human readable name of this protocol.
|
String |
toString() |
static EtpProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtpProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtpProtocol Core
public static final EtpProtocol ChannelStreaming
public static final EtpProtocol ChannelDataFrame
public static final EtpProtocol Discovery
public static final EtpProtocol Store
public static final EtpProtocol StoreNotification
public static final EtpProtocol GrowingObject
public static final EtpProtocol DataArray
public static final EtpProtocol WitsmlSoap
public static EtpProtocol[] values()
for (EtpProtocol c : EtpProtocol.values()) System.out.println(c);
public static EtpProtocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public String getName()
public String toString()
toString
in class Enum<EtpProtocol>
public static EtpProtocol get(int id)
id
- ID to find protocol of.Copyright © 2023 Petroware AS - https://petroware.no