public enum DocumentVersion extends Enum<DocumentVersion>
Enum Constant and Description |
---|
KEEP_VERSION |
MAJOR_INCREMENT |
MINOR_INCREMENT |
Modifier and Type | Method and Description |
---|---|
Double |
code() |
String |
libelle() |
Double |
value() |
static DocumentVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DocumentVersion KEEP_VERSION
public static final DocumentVersion MINOR_INCREMENT
public static final DocumentVersion MAJOR_INCREMENT
public static DocumentVersion[] values()
for (DocumentVersion c : DocumentVersion.values()) System.out.println(c);
public static DocumentVersion 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 final Double code()
public final String libelle()
public final Double value()
Copyright © 2016. All rights reserved.