net.dpml.metro.info
Class CollectionPolicy

java.lang.Object
  extended bynet.dpml.lang.Enum
      extended bynet.dpml.metro.info.CollectionPolicy
All Implemented Interfaces:
Serializable

public final class CollectionPolicy
extends Enum

Collection policy enummeration.

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

Field Summary
static CollectionPolicy HARD
          Hard collection policy.
static CollectionPolicy SOFT
          Soft collection policy.
static CollectionPolicy SYSTEM
          Collection policy to be established at system discretion.
static CollectionPolicy WEAK
          Weak collection policy.
 
Method Summary
static CollectionPolicy parse(String value)
          Parse the supplied name.
static CollectionPolicy[] values()
          Returns an array of activation 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

WEAK

public static final CollectionPolicy WEAK
Weak collection policy.


SOFT

public static final CollectionPolicy SOFT
Soft collection policy.


HARD

public static final CollectionPolicy HARD
Hard collection policy.


SYSTEM

public static final CollectionPolicy SYSTEM
Collection policy to be established at system discretion.

Method Detail

values

public static CollectionPolicy[] values()
Returns an array of activation enum values.

Returns:
the activation policies array

parse

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

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