@StableMinor(version="12.0", sinceVersion="7.0") public enum PropertyInheritMode extends Enum<PropertyInheritMode>
Enum Constant and Description |
---|
APPEND
Append the values inherited from the parent property bag.
|
IGNORE
Ignore the values that would be inherited from the parent
property bag.
|
PREPEND
Prepend the values inherited from the parent property bag.
|
Modifier and Type | Method and Description |
---|---|
static PropertyInheritMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PropertyInheritMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyInheritMode IGNORE
Note that parent values are only ignored if a value is set locally. Otherwise the parent value is used directly.
Example: if property has local values [L1, L2, L3] and parent has values [P1, P2, P3], then the property values will be [L1, L2, L3].
public static final PropertyInheritMode PREPEND
Example: if property has local values [L1, L2, L3] and parent has values [P1, P2, P3], then the property values will be [P1, P2, P3, L1, L2, L3].
public static final PropertyInheritMode APPEND
Example: if property has local values [L1, L2, L3] and parent has values [P1, P2, P3], then the property values will be [L1, L2, L3, P1, P2, P3].
public static PropertyInheritMode[] values()
for (PropertyInheritMode c : PropertyInheritMode.values()) System.out.println(c);
public static PropertyInheritMode 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 nullLumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.