public enum VersionType extends Enum<VersionType>
| Enum Constant and Description |
|---|
INT |
INT_OBJECT |
LONG |
LONG_OBJECT |
SHORT |
SHORT_OBJECT |
TIMESTAMP |
| Modifier and Type | Method and Description |
|---|---|
static VersionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VersionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static VersionType |
versionType(Class<?> clazz)
Returns the type of the version attribute.
|
public static final VersionType SHORT
public static final VersionType SHORT_OBJECT
public static final VersionType INT
public static final VersionType INT_OBJECT
public static final VersionType LONG
public static final VersionType LONG_OBJECT
public static final VersionType TIMESTAMP
public static VersionType[] values()
for (VersionType c : VersionType.values()) System.out.println(c);
public static VersionType 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 static VersionType versionType(Class<?> clazz)
clazz - the class of the version attributeCopyright © 2012 Batoo Software & Consultancy. All Rights Reserved.