public enum JavaTechnology extends java.lang.Enum<JavaTechnology> implements PersistentName
Enum Constant and Description |
---|
JAVA3 |
JAVA4 |
JAVA5 |
JAVA6 |
JAVA7 |
JAVA8 |
Modifier and Type | Method and Description |
---|---|
static JavaTechnology |
fromPersistentName(java.lang.String code) |
static JavaTechnology |
fromVersionString(java.lang.String versionStr) |
static JavaTechnology |
getCurrentTechnology() |
java.lang.String |
getJavaTechnologyName() |
java.lang.String |
getPersistentName()
Returns the String value to be stored in the database or file.
|
java.lang.String |
getVersionString() |
static JavaTechnology |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaTechnology[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaTechnology JAVA3
public static final JavaTechnology JAVA4
public static final JavaTechnology JAVA5
public static final JavaTechnology JAVA6
public static final JavaTechnology JAVA7
public static final JavaTechnology JAVA8
public static JavaTechnology[] values()
for (JavaTechnology c : JavaTechnology.values()) System.out.println(c);
public static JavaTechnology valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getJavaTechnologyName()
public java.lang.String getVersionString()
public java.lang.String getPersistentName()
PersistentName
getPersistentName
in interface PersistentName
public static JavaTechnology getCurrentTechnology()
public static JavaTechnology fromVersionString(java.lang.String versionStr)
public static JavaTechnology fromPersistentName(java.lang.String code)
Copyright © 2014 EsprIT-Systems. All Rights Reserved.