|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.workarea.PropertyModeType
public class PropertyModeType
PropertyModeTypes permit applications to indicate that specific values set into a WorkArea should not be removeable, overridable/overwriteable, or both. For examples, if a property were set as follows:
userWorkArea.set("key", "value", PropertyModeType.read_only);then the value would be unchangeable by further set invocations; the value could be removed, however, though of course only within the context in which it was initially set. Similarly,
userWorkArea.set("key", "value", PropertyModeType.fixed_normal);would result in a property that cannot be removed; however, the property could be overwritten or overridden. Therefore,
userWorkArea.set("key", "value", PropertyModeType.fixed_readonly)results in a property that can neither be overriden nor removed; it will exist unchanging until the WorkArea is completed. Properties will be considered normal (may be overwritten, overridden, or deleted) if set with the mode explicitely :
userWorkArea.set("key", "value", PropertyModeType.normal);or if the mode is implicit:
userWorkArea.set("key", "value");
Field Summary | |
---|---|
static int |
_fixed_normal
|
static int |
_fixed_readonly
|
static int |
_normal
|
static int |
_read_only
|
static PropertyModeType |
fixed_normal
Indicates that properties can be overwritten or overridden, but not deleted. |
static PropertyModeType |
fixed_readonly
Indicates that properties may not be removed, overridden, or overwritten. |
static PropertyModeType |
normal
Indicates that properties may be overridden, overwritten, or deleted. |
static PropertyModeType |
read_only
Indicates that properties may be deleted, but cannot be overridden or overwritten. |
Method Summary | |
---|---|
static PropertyModeType |
from_int(int value)
Will return a PropertyModeType corresponding to the given PropertyModeType. |
int |
value()
Will return an integer representation of the given PropertyModeType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int _normal
public static final PropertyModeType normal
public static final int _read_only
public static final PropertyModeType read_only
public static final int _fixed_normal
public static final PropertyModeType fixed_normal
public static final int _fixed_readonly
public static final PropertyModeType fixed_readonly
Method Detail |
---|
public int value()
public static PropertyModeType from_int(int value)
value
- Must be an integer from with the set of fixed integers defined in the PropertyModeType class.
java.lang.IllegalArgumentException
- The value must correspond to one of the constants defined
in the PropertyModeType class.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |