Enum AttributeAnalysis.DirtynessStatus
- java.lang.Object
-
- java.lang.Enum<AttributeAnalysis.DirtynessStatus>
-
- org.hibernate.persister.entity.mutation.AttributeAnalysis.DirtynessStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeAnalysis.DirtynessStatus>
- Enclosing interface:
- AttributeAnalysis
public static enum AttributeAnalysis.DirtynessStatus extends Enum<AttributeAnalysis.DirtynessStatus>
Dirty-ness status of each attribute: it's useful to differentiate when it's definitely dirty, when it's definitely not dirty, and when we need to treat it like dirty but there is no certainty - for example because we didn't actually load the value from the database.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSIDER_LIKE_DIRTY
DIRTY
NOT_DIRTY
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeAnalysis.DirtynessStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeAnalysis.DirtynessStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRTY
public static final AttributeAnalysis.DirtynessStatus DIRTY
-
NOT_DIRTY
public static final AttributeAnalysis.DirtynessStatus NOT_DIRTY
-
CONSIDER_LIKE_DIRTY
public static final AttributeAnalysis.DirtynessStatus CONSIDER_LIKE_DIRTY
-
-
Method Detail
-
values
public static AttributeAnalysis.DirtynessStatus[] 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 (AttributeAnalysis.DirtynessStatus c : AttributeAnalysis.DirtynessStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeAnalysis.DirtynessStatus 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 nameNullPointerException
- if the argument is null
-
-