net.dpml.metro.info
Class CollectionPolicy

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

public final class CollectionPolicy
extends Enum

Collection policy enummeration.

Version:
1.2.0
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.
 String toString()
          Return a string representation of this enumeration.
static CollectionPolicy[] values()
          Returns an array of activation enum values.
 
Methods inherited from class net.dpml.lang.Enum
equals, getName, hashCode
 
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

toString

public String toString()
Return a string representation of this enumeration.

Overrides:
toString in class Enum
Returns:
the string value

parse

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

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