|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ValidationScope>
com.semarchy.mdm.runtime.model.logical.ValidationScope
public enum ValidationScope
ValidationScopeType enumeration:
Type of validation scope
Enum Constant Summary | |
---|---|
NONE
None: Never validate data |
|
POST_CONSO
Post consolidation only: Validates data after consolidation |
|
PRE_CONSO
Pre consolidation only: Validates source data before consolidation |
|
PRE_POST
Pre and post consolidation: Validates data both before and after consolidation |
Method Summary | |
---|---|
boolean |
isPostConsoValidation()
Return true if validation should be checked during post consolidation validations phase. |
boolean |
isSourceValidation()
Return true if validation should be checked during source validations phase. |
boolean |
matches(ValidationScope pValidationPhase)
Return true if validation should be checked when in are doing pValidationPhase. |
static ValidationScope |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ValidationScope[] |
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 |
---|
public static final ValidationScope NONE
public static final ValidationScope POST_CONSO
public static final ValidationScope PRE_CONSO
public static final ValidationScope PRE_POST
Method Detail |
---|
public static ValidationScope[] values()
for (ValidationScope c : ValidationScope.values()) System.out.println(c);
public static ValidationScope valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic boolean matches(ValidationScope pValidationPhase)
PRE_POST
or this ==
pValidationPhase
pValidationPhase
- one of PRE_CONSO
or POST_CONSO
public boolean isSourceValidation()
public boolean isPostConsoValidation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |