de.deepamehta.core.service
Enum Directive

Show UML class diagram
java.lang.Object
  extended by java.lang.Enum<Directive>
      extended by de.deepamehta.core.service.Directive
All Implemented Interfaces:
Serializable, Comparable<Directive>

public enum Directive
extends Enum<Directive>


Enum Constant Summary
DELETE_ASSOCIATION
           
DELETE_ASSOCIATION_TYPE
           
DELETE_TOPIC
           
DELETE_TOPIC_TYPE
           
UPDATE_ASSOCIATION
           
UPDATE_ASSOCIATION_TYPE
           
UPDATE_TOPIC
           
UPDATE_TOPIC_TYPE
           
 
Method Summary
static Directive valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Directive[] 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

UPDATE_TOPIC

public static final Directive UPDATE_TOPIC

DELETE_TOPIC

public static final Directive DELETE_TOPIC

UPDATE_ASSOCIATION

public static final Directive UPDATE_ASSOCIATION

DELETE_ASSOCIATION

public static final Directive DELETE_ASSOCIATION

UPDATE_TOPIC_TYPE

public static final Directive UPDATE_TOPIC_TYPE

DELETE_TOPIC_TYPE

public static final Directive DELETE_TOPIC_TYPE

UPDATE_ASSOCIATION_TYPE

public static final Directive UPDATE_ASSOCIATION_TYPE

DELETE_ASSOCIATION_TYPE

public static final Directive DELETE_ASSOCIATION_TYPE
Method Detail

values

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

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

valueOf

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


Copyright © 2015. All Rights Reserved.