public enum RMPropertySettability extends java.lang.Enum<RMPropertySettability>
RMPropertyDescription.getSettability
method return value.Enum Constant and Description |
---|
ReadOnly
Property value is read only.
|
ReadWrite
Property value can be both read from and written to.
|
SettableOnlyBeforeCheckIn
Property value can only be written to before corresponding
object is checked in.
|
SettableOnlyOnCreate
Property value can only be written to at the time that
the corresponding object is being created.
|
Modifier and Type | Method and Description |
---|---|
static RMPropertySettability |
getInstanceFromInt(int intValue)
Provides the
RMPropertySettability instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static RMPropertySettability |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RMPropertySettability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RMPropertySettability ReadWrite
public static final RMPropertySettability SettableOnlyBeforeCheckIn
public static final RMPropertySettability SettableOnlyOnCreate
public static final RMPropertySettability ReadOnly
public static RMPropertySettability[] values()
for (RMPropertySettability c : RMPropertySettability.values()) System.out.println(c);
public static RMPropertySettability 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 nullpublic int getIntValue()
int
value.public static RMPropertySettability getInstanceFromInt(int intValue)
RMPropertySettability
instance that corresponds to the given
int
value.intValue
- the int
value to look up.RMPropertySettability
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.