public enum EqualsContractViolation extends Enum<EqualsContractViolation> implements ContractViolation
EqualsContractViolation represents a contract violation as the name let presume| Enum Constant and Description |
|---|
CONSISTENCY
This value represents the consistency contract violation.
|
CONSISTENCY_NULL_ARGUMENT
This value represents that the given argument is null for the consistency evaluation.
|
NON_NULL
This value represents the non null contract violation.
|
NON_NULL_NULL_ARGUMENT
This value represents that the given argument is null for the non null evaluation.
|
REFLEXIVITY
This value represents the reflexivity contract violation.
|
REFLEXIVITY_NULL_ARGUMENT
This value represents that the given argument is null for the reflexivity evaluation.
|
SYMMETRICITY
This value represents the symmetric contract violation.
|
SYMMETRICITY_NULL_ARGUMENT
This value represents that the given argument is null for the symmetric evaluation.
|
TRANSITIVITY
This value represents the transitivity contract violation.
|
TRANSITIVITY_NULL_ARGUMENT
This value represents that the given argument is null for the transitivity evaluation.
|
| Modifier and Type | Method and Description |
|---|---|
static EqualsContractViolation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EqualsContractViolation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EqualsContractViolation CONSISTENCY
public static final EqualsContractViolation CONSISTENCY_NULL_ARGUMENT
public static final EqualsContractViolation NON_NULL
public static final EqualsContractViolation NON_NULL_NULL_ARGUMENT
public static final EqualsContractViolation REFLEXIVITY
public static final EqualsContractViolation REFLEXIVITY_NULL_ARGUMENT
public static final EqualsContractViolation SYMMETRICITY
public static final EqualsContractViolation SYMMETRICITY_NULL_ARGUMENT
public static final EqualsContractViolation TRANSITIVITY
public static final EqualsContractViolation TRANSITIVITY_NULL_ARGUMENT
public static EqualsContractViolation[] values()
for (EqualsContractViolation c : EqualsContractViolation.values()) System.out.println(c);
public static EqualsContractViolation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.