protected static enum ModelWithContext.ContextUpdateType extends Enum<ModelWithContext.ContextUpdateType>
AssignmentConstraintContext.assigned(Assignment, Value)
and AssignmentConstraintContext.unassigned(Assignment, Value)
are called).Enum Constant and Description |
---|
AfterUnassignedAfterAssigned
Update is done after an unassignment and after an assignment.
|
AfterUnassignedBeforeAssigned
Update is done after an unassignment and before an assignment.
|
BeforeUnassignedAfterAssigned
Update is done before an unassignment and after an assignment.
|
BeforeUnassignedBeforeAssigned
Update is done before an unassignment and before an assignment.
|
NoUpdate
Context is to be updated manually.
|
Modifier and Type | Method and Description |
---|---|
static ModelWithContext.ContextUpdateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelWithContext.ContextUpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelWithContext.ContextUpdateType BeforeUnassignedBeforeAssigned
public static final ModelWithContext.ContextUpdateType AfterUnassignedBeforeAssigned
public static final ModelWithContext.ContextUpdateType BeforeUnassignedAfterAssigned
public static final ModelWithContext.ContextUpdateType AfterUnassignedAfterAssigned
public static final ModelWithContext.ContextUpdateType NoUpdate
public static ModelWithContext.ContextUpdateType[] values()
for (ModelWithContext.ContextUpdateType c : ModelWithContext.ContextUpdateType.values()) System.out.println(c);
public static ModelWithContext.ContextUpdateType 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 null