Package org.ametys.runtime.model.compare
Enum Class DataChangeTypeDetail
- All Implemented Interfaces:
Serializable
,Comparable<DataChangeTypeDetail>
,java.lang.constant.Constable
Details of type of data change
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNew (date) is after oldNew (date) is before oldNew (int/bool/long) is smaller than oldLess content in the new fieldLess content at the end of the new fieldLess content at the start of the new fieldNew (int/bool/long) is bigger than oldMore content in new fieldMore content at the end of the new fieldMore content at the start of the new fieldNo particular detailSame data, but order changedMetadataType changed (reference file to binary file for example) -
Method Summary
Modifier and TypeMethodDescriptionstatic DataChangeTypeDetail
Returns the enum constant of this class with the specified name.static DataChangeTypeDetail[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No particular detail -
MORE
New (int/bool/long) is bigger than old -
LESS
New (int/bool/long) is smaller than old -
ORDER
Same data, but order changed -
BEFORE
New (date) is before old -
AFTER
New (date) is after old -
MORE_CONTENT
More content in new field -
MORE_CONTENT_START
More content at the start of the new field -
MORE_CONTENT_END
More content at the end of the new field -
LESS_CONTENT
Less content in the new field -
LESS_CONTENT_START
Less content at the start of the new field -
LESS_CONTENT_END
Less content at the end of the new field -
TYPE
MetadataType changed (reference file to binary file for example)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-