net.dpml.metro.info
Class ThreadSafePolicy

java.lang.Object
  extended by net.dpml.lang.Enum
      extended by net.dpml.metro.info.ThreadSafePolicy
All Implemented Interfaces:
Serializable

public final class ThreadSafePolicy
extends Enum

Collection policy enummeration.

Version:
1.2.0
Author:
Digital Product Meta Library
See Also:
Serialized Form

Field Summary
static ThreadSafePolicy FALSE
          Soft collection policy.
static ThreadSafePolicy TRUE
          Weak collection policy.
static ThreadSafePolicy UNKNOWN
          Hard collection policy.
 
Method Summary
static ThreadSafePolicy parse(String value)
          Parse the supplied name.
static ThreadSafePolicy[] values()
          Returns an array of policy enum values.
 
Methods inherited from class net.dpml.lang.Enum
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TRUE

public static final ThreadSafePolicy TRUE
Weak collection policy.


FALSE

public static final ThreadSafePolicy FALSE
Soft collection policy.


UNKNOWN

public static final ThreadSafePolicy UNKNOWN
Hard collection policy.

Method Detail

values

public static ThreadSafePolicy[] values()
Returns an array of policy enum values.

Returns:
the policies array

parse

public static ThreadSafePolicy parse(String value)
Parse the supplied name.

Parameters:
value - the value to parse
Returns:
the policy value