public enum PropertyMode extends java.lang.Enum<PropertyMode>
Enum Constant and Description |
---|
Explicit
Indicates that a property value is explicitly set, and should not be
inherited from matching properties in an ancestor hierarchy.
|
Inactive
Indicates that a property value is inactive.
|
Inherited
Indicates that a property value is to be inherited from the closest
explicitly-set matching property in the ancestor hierarchy.
|
Void
Indicates no mode value.
|
Modifier and Type | Method and Description |
---|---|
static PropertyMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PropertyMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PropertyMode Explicit
public static final PropertyMode Inherited
public static final PropertyMode Inactive
Inherited
, its value is to be inherited from the closest explicitly-set
matching property in the ancestor hierarchy. However, when an inactive
value is set, it's mode is not automatically set to Explicit
and its new value it not propagated to hierarchy descendants.public static final PropertyMode Void
public static PropertyMode[] values()
for (PropertyMode c : PropertyMode.values()) System.out.println(c);
public static PropertyMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null