public enum JPAVersion extends Enum<JPAVersion>
Modifier and Type | Method and Description |
---|---|
String |
getFilename() |
String |
getVersion() |
static JPAVersion |
parse(String version) |
String |
toString() |
static JPAVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JPAVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JPAVersion V1_0
public static final JPAVersion V2_0
public static final JPAVersion V2_1
public static JPAVersion[] values()
for (JPAVersion c : JPAVersion.values()) System.out.println(c);
public static JPAVersion 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 getFilename()
public static JPAVersion parse(String version)
public String toString()
toString
in class Enum<JPAVersion>
Copyright © 2009–2020 OrientDB. All rights reserved.