public enum Integrity extends Enum<Integrity>
| Enum Constant and Description |
|---|
COMPOSITE
application-level and composite relations.
|
COMPOSITE_DBONLY
same as
COMPOSITE but no check on application level. |
FULL
application-level and all related and composite relations.
|
FULL_DBONLY
same as
FULL but no check on application level. |
NONE
no integrity checks at all.
|
RELATED
application-level and foreign keys for non-composite relations.
|
RELATED_DBONLY
same as
RELATED but no check on application level. |
SOFT
application-level integrity checks only.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCheckedByApplication()
Returns whether integrity is checked on the application level.
|
boolean |
isCompositesCheckedByDatabase()
Returns whether integrity is checked by the database for composite entities.
|
boolean |
isRelatedCheckedByDatabase()
Returns whether integrity is checked by the database for related entities.
|
static Integrity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Integrity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Integrity NONE
public static final Integrity SOFT
public static final Integrity RELATED
public static final Integrity COMPOSITE
public static final Integrity RELATED_DBONLY
RELATED but no check on application level.public static final Integrity COMPOSITE_DBONLY
COMPOSITE but no check on application level.public static final Integrity FULL_DBONLY
FULL but no check on application level.public static final Integrity FULL
public static Integrity[] values()
for (Integrity c : Integrity.values()) System.out.println(c);
public static Integrity 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 nullpublic boolean isCheckedByApplication()
public boolean isRelatedCheckedByDatabase()
public boolean isCompositesCheckedByDatabase()
Copyright © 2016 Krake Softwaretechnik. All rights reserved.