org.apache.hivemind
Class Occurances

java.lang.Object
  |
  +--org.apache.hivemind.Occurances

public final class Occurances
extends java.lang.Object

Identifies the number of contributions allowed to a configuration extension point.

Author:
Howard Lewis Ship

Field Summary
static Occurances ONE_PLUS
          At least one is required.
static Occurances OPTIONAL
          Optional, may be zero or one, but not more.
static Occurances REQUIRED
          Exactly one is required.
static Occurances UNBOUNDED
          An unbounded number, zero or more.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

UNBOUNDED

public static final Occurances UNBOUNDED
An unbounded number, zero or more.


OPTIONAL

public static final Occurances OPTIONAL
Optional, may be zero or one, but not more.


REQUIRED

public static final Occurances REQUIRED
Exactly one is required.


ONE_PLUS

public static final Occurances ONE_PLUS
At least one is required.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object