com.ebmwebsourcing.petalsbpm.business.domain.di.api
Enum ParticipantBandKind

java.lang.Object
  extended by java.lang.Enum<ParticipantBandKind>
      extended by com.ebmwebsourcing.petalsbpm.business.domain.di.api.ParticipantBandKind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ParticipantBandKind>

public enum ParticipantBandKind
extends java.lang.Enum<ParticipantBandKind>

Participant bands can be depicted in 3 ways: 1. a top band is rectangular with rounded corners at the top 2. a middle band is rectangular 3. a bottom band is rectangular with rounded corners at the bottom Participant bands can be depicted in 2 shadings: 1. initiating (the band should not be shaded) 2. non_initiating (the band should be shaded)

Author:
nfleury

Enum Constant Summary
bottom_initiating
           
bottom_non_initiating
           
middle_initiating
           
middle_non_initiating
           
top_initiating
           
top_non_initiating
           
 
Method Summary
static ParticipantBandKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ParticipantBandKind[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

top_initiating

public static final ParticipantBandKind top_initiating

middle_initiating

public static final ParticipantBandKind middle_initiating

bottom_initiating

public static final ParticipantBandKind bottom_initiating

top_non_initiating

public static final ParticipantBandKind top_non_initiating

middle_non_initiating

public static final ParticipantBandKind middle_non_initiating

bottom_non_initiating

public static final ParticipantBandKind bottom_non_initiating
Method Detail

values

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

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

valueOf

public static ParticipantBandKind valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2010-2011 eBM WebSourcing. All Rights Reserved.