org.opencrx.kernel.backend
Enum Activities.PartyType

java.lang.Object
  extended by java.lang.Enum<Activities.PartyType>
      extended by org.opencrx.kernel.backend.Activities.PartyType
All Implemented Interfaces:
Serializable, Comparable<Activities.PartyType>
Enclosing class:
Activities

public static enum Activities.PartyType
extends Enum<Activities.PartyType>

Party types.


Enum Constant Summary
EMAIL_BCC
           
EMAIL_CC
           
EMAIL_FROM
           
EMAIL_TO
           
NA
           
OPTIONAL
           
ORGANIZER
           
REQUIRED
           
 
Method Summary
 short getValue()
           
static Activities.PartyType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Activities.PartyType[] 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

NA

public static final Activities.PartyType NA

REQUIRED

public static final Activities.PartyType REQUIRED

OPTIONAL

public static final Activities.PartyType OPTIONAL

ORGANIZER

public static final Activities.PartyType ORGANIZER

EMAIL_FROM

public static final Activities.PartyType EMAIL_FROM

EMAIL_TO

public static final Activities.PartyType EMAIL_TO

EMAIL_CC

public static final Activities.PartyType EMAIL_CC

EMAIL_BCC

public static final Activities.PartyType EMAIL_BCC
Method Detail

values

public static Activities.PartyType[] 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 (Activities.PartyType c : Activities.PartyType.values())
    System.out.println(c);

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

valueOf

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

getValue

public short getValue()


This software is published under the BSD license. Copyright © 2003-2012, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.