com.silvermindsoftware.hitch
Enum ReadOnly
java.lang.Object
java.lang.Enum<ReadOnly>
com.silvermindsoftware.hitch.ReadOnly
- All Implemented Interfaces:
- Serializable, Comparable<ReadOnly>
public enum ReadOnly
- extends Enum<ReadOnly>
- File-location:
- ReadOnly
- Last check-in date:
- 2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883
Method Summary |
static ReadOnly |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReadOnly[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
TRUE
public static final ReadOnly TRUE
FALSE
public static final ReadOnly FALSE
DEFAULT
public static final ReadOnly DEFAULT
values
public static ReadOnly[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ReadOnly c : ReadOnly.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReadOnly valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2005-2011 ELCA. All Rights Reserved.