public enum UnitAssignmentType extends Enum<UnitAssignmentType>
| Enum Constant and Description |
|---|
ASSIGN_DOWN |
ASSIGN_UP |
CREATION |
TRANSFER |
| Modifier and Type | Method and Description |
|---|---|
static UnitAssignmentType |
findByCode(String strAssignmentTypeCode)
Finds the assignment type corresponding to the specified assignment code
|
String |
getAssignmentTypeCode()
Gives the assignment type code
|
static UnitAssignmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitAssignmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitAssignmentType CREATION
public static final UnitAssignmentType ASSIGN_UP
public static final UnitAssignmentType ASSIGN_DOWN
public static final UnitAssignmentType TRANSFER
public static UnitAssignmentType[] values()
for (UnitAssignmentType c : UnitAssignmentType.values()) System.out.println(c);
public static UnitAssignmentType 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 getAssignmentTypeCode()
public static UnitAssignmentType findByCode(String strAssignmentTypeCode)
strAssignmentTypeCode - the assignment type codeCopyright © 2022 City of Paris. All rights reserved.