dermi.annotation
Enum Granularity

java.lang.Object
  extended by java.lang.Enum<Granularity>
      extended by dermi.annotation.Granularity
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Granularity>

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

This is an enumeration class for the different Dermi call granularities

Version:
1.2
Author:
Carles Pairot

Enum Constant Summary
ANYCALL
          Anycall
ANYCALL_CONDITION
          Anycall condition method
DIRECTCALL
          One-to-one direct call
HOPPEDCALL
          One-to-one hopped call
LISTENER
          Listener method
MANYCALL
          Manycall
MANYCALL_GLOBAL_CONDITION
          Manycall global condition method
MANYCALL_LOCAL_CONDITION
          Manycall local condition method
MULTICALL
          One-to-many call
 
Method Summary
static Granularity valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Granularity[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DIRECTCALL

public static final Granularity DIRECTCALL
One-to-one direct call


HOPPEDCALL

public static final Granularity HOPPEDCALL
One-to-one hopped call


MULTICALL

public static final Granularity MULTICALL
One-to-many call


ANYCALL

public static final Granularity ANYCALL
Anycall


MANYCALL

public static final Granularity MANYCALL
Manycall


LISTENER

public static final Granularity LISTENER
Listener method


ANYCALL_CONDITION

public static final Granularity ANYCALL_CONDITION
Anycall condition method


MANYCALL_LOCAL_CONDITION

public static final Granularity MANYCALL_LOCAL_CONDITION
Manycall local condition method


MANYCALL_GLOBAL_CONDITION

public static final Granularity MANYCALL_GLOBAL_CONDITION
Manycall global condition method

Method Detail

values

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

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

valueOf

public static Granularity 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