Package org.ametys.runtime.model.compare
Enum DataChangeTypeDetail
- java.lang.Object
-
- java.lang.Enum<DataChangeTypeDetail>
-
- org.ametys.runtime.model.compare.DataChangeTypeDetail
-
- All Implemented Interfaces:
Serializable
,Comparable<DataChangeTypeDetail>
public enum DataChangeTypeDetail extends Enum<DataChangeTypeDetail>
Details of type of data change
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AFTER
New (date) is after oldBEFORE
New (date) is before oldLESS
New (int/bool/long) is smaller than oldLESS_CONTENT
Less content in the new fieldLESS_CONTENT_END
Less content at the end of the new fieldLESS_CONTENT_START
Less content at the start of the new fieldMORE
New (int/bool/long) is bigger than oldMORE_CONTENT
More content in new fieldMORE_CONTENT_END
More content at the end of the new fieldMORE_CONTENT_START
More content at the start of the new fieldNONE
No particular detailORDER
Same data, but order changedTYPE
MetadataType changed (reference file to binary file for example)
-
Constructor Summary
Constructors Modifier Constructor Description private
DataChangeTypeDetail()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataChangeTypeDetail
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataChangeTypeDetail[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final DataChangeTypeDetail NONE
No particular detail
-
MORE
public static final DataChangeTypeDetail MORE
New (int/bool/long) is bigger than old
-
LESS
public static final DataChangeTypeDetail LESS
New (int/bool/long) is smaller than old
-
ORDER
public static final DataChangeTypeDetail ORDER
Same data, but order changed
-
BEFORE
public static final DataChangeTypeDetail BEFORE
New (date) is before old
-
AFTER
public static final DataChangeTypeDetail AFTER
New (date) is after old
-
MORE_CONTENT
public static final DataChangeTypeDetail MORE_CONTENT
More content in new field
-
MORE_CONTENT_START
public static final DataChangeTypeDetail MORE_CONTENT_START
More content at the start of the new field
-
MORE_CONTENT_END
public static final DataChangeTypeDetail MORE_CONTENT_END
More content at the end of the new field
-
LESS_CONTENT
public static final DataChangeTypeDetail LESS_CONTENT
Less content in the new field
-
LESS_CONTENT_START
public static final DataChangeTypeDetail LESS_CONTENT_START
Less content at the start of the new field
-
LESS_CONTENT_END
public static final DataChangeTypeDetail LESS_CONTENT_END
Less content at the end of the new field
-
TYPE
public static final DataChangeTypeDetail TYPE
MetadataType changed (reference file to binary file for example)
-
-
Constructor Detail
-
DataChangeTypeDetail
private DataChangeTypeDetail()
-
-
Method Detail
-
values
public static DataChangeTypeDetail[] 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 (DataChangeTypeDetail c : DataChangeTypeDetail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataChangeTypeDetail 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
-
-