public enum ReadOnlyType extends java.lang.Enum<ReadOnlyType>
Java class for read-onlyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="read-onlyType">
<restriction base="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string">
<enumeration value="true"/>
<enumeration value="false"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static ReadOnlyType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static ReadOnlyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOnlyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOnlyType TRUE
public static final ReadOnlyType FALSE
public static ReadOnlyType[] values()
for (ReadOnlyType c : ReadOnlyType.values()) System.out.println(c);
public static ReadOnlyType 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 java.lang.String value()
public static ReadOnlyType fromValue(java.lang.String v)