rcf.core.framework.component
Enum PropertyMode

java.lang.Object
  extended by java.lang.Enum<PropertyMode>
      extended by rcf.core.framework.component.PropertyMode
All Implemented Interfaces:
Serializable, Comparable<PropertyMode>

@Revision(value="$Revision: 1.1 $",
          date="$Date: 2006/11/29 21:10:25 $",
          tag="$Name:  $")
public enum PropertyMode
extends Enum<PropertyMode>

TODO: Javadoc

TODO: Unit tests, Code review, Javadoc review, Seal/Finalize TODO: equals, hashCode, toString

Version:
$Revision: 1.1 $
Author:
Greg Gibeling

Enum Constant Summary
Both
          TODO: Javadoc
Neither
          TODO: Javadoc
Read
          TODO: Javadoc
Write
          TODO: Javadoc
 
Field Summary
 boolean isReadable
          TODO: Javadoc
 boolean isWritable
          TODO: Javadoc
 
Method Summary
static PropertyMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PropertyMode[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Neither

public static final PropertyMode Neither
TODO: Javadoc


Read

public static final PropertyMode Read
TODO: Javadoc


Write

public static final PropertyMode Write
TODO: Javadoc


Both

public static final PropertyMode Both
TODO: Javadoc

Field Detail

isReadable

public final boolean isReadable
TODO: Javadoc


isWritable

public final boolean isWritable
TODO: Javadoc

Method Detail

values

public static final PropertyMode[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(PropertyMode c : PropertyMode.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PropertyMode 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