com.semarchy.mdm.runtime.model.logical
Enum DETaskTriggerType

java.lang.Object
  extended by java.lang.Enum<DETaskTriggerType>
      extended by com.semarchy.mdm.runtime.model.logical.DETaskTriggerType
All Implemented Interfaces:
Serializable, Comparable<DETaskTriggerType>

public enum DETaskTriggerType
extends Enum<DETaskTriggerType>


Enum Constant Summary
FIELD_EXIT
          Field Exit: Trigger validation on field exit and manually
KEYSTROKE
          Keystrokes: Trigger validation on keystrokes
MANUAL
          Manual: Trigger validation manually only
NONE
          None: Do not validate
SAVE
          Save: Trigger validation on save and manually
 
Method Summary
 boolean executesOn(DETaskTriggerType pActualTrigger)
          Returns true if a IDETaskValidation or IDETaskEnricher defined with this Trigger should considered when the validation/enrichment is triggered with actualTrigger.
static DETaskTriggerType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DETaskTriggerType[] 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

KEYSTROKE

public static final DETaskTriggerType KEYSTROKE
Keystrokes: Trigger validation on keystrokes


FIELD_EXIT

public static final DETaskTriggerType FIELD_EXIT
Field Exit: Trigger validation on field exit and manually


SAVE

public static final DETaskTriggerType SAVE
Save: Trigger validation on save and manually


MANUAL

public static final DETaskTriggerType MANUAL
Manual: Trigger validation manually only


NONE

public static final DETaskTriggerType NONE
None: Do not validate

Method Detail

values

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

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

valueOf

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

executesOn

public boolean executesOn(DETaskTriggerType pActualTrigger)
Returns true if a IDETaskValidation or IDETaskEnricher defined with this Trigger should considered when the validation/enrichment is triggered with actualTrigger. A trigger is considered for execution when the actual trigger has an equals or higher higher level:
  • is considered on , , and
  • is considered on , and
  • is considered on and
  • is considered on only
  • is never considered

    Parameters:
    pActualTrigger - a trigger type (NONE is irrelevant here and would return false)
    Returns:


  • Copyright © 2015. All Rights Reserved.