public enum EtpVersion extends Enum<EtpVersion>
Enum Constant and Description |
---|
VERSION_1_1
Version 1.1.
|
VERSION_1_2
Version 1.2.
|
Modifier and Type | Method and Description |
---|---|
String |
getVersion()
Return exact version of this instance as a string.
|
String |
toString() |
static EtpVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtpVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtpVersion VERSION_1_1
public static final EtpVersion VERSION_1_2
public static EtpVersion[] values()
for (EtpVersion c : EtpVersion.values()) System.out.println(c);
public static EtpVersion 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 String getVersion()
public String toString()
toString
in class Enum<EtpVersion>
Copyright © 2023 Petroware AS - https://petroware.no