|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<PropertyInheritMode>
lumis.portal.propertybag.PropertyInheritMode
@StableMinor(version="7.0", sinceVersion="7.0") public enum PropertyInheritMode
Indicates the mode the values of a property is inherited to a property bag from its parent property bag.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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].
Method Detail |
---|
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 name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |