public static enum PropagationConstraint.AddConstraint extends Enum<PropagationConstraint.AddConstraint>
| Enum Constant and Description |
|---|
propagate
When an 'add' action is performed on the source Entity of the relation,
or directly on the relation, then the same add action is performed on
the relation and its target Entity.
|
unpropagate
When an 'add' action is performed on the source Entity of the relation,
is performed on source relation only.
|
| Modifier and Type | Method and Description |
|---|---|
static PropagationConstraint.AddConstraint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropagationConstraint.AddConstraint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropagationConstraint.AddConstraint propagate
public static final PropagationConstraint.AddConstraint unpropagate
public static PropagationConstraint.AddConstraint[] values()
for (PropagationConstraint.AddConstraint c : PropagationConstraint.AddConstraint.values()) System.out.println(c);
public static PropagationConstraint.AddConstraint 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 nullCopyright © 2022. All Rights Reserved.