Package com.inet.pdfc.generator.model
Enum Class Modification.ModificationType
java.lang.Object
java.lang.Enum<Modification.ModificationType>
com.inet.pdfc.generator.model.Modification.ModificationType
- All Implemented Interfaces:
Serializable
,Comparable<Modification.ModificationType>
,Constable
- Enclosing class:
- Modification
The type of the modification which side has modifications and whether the changes do apply-
This is loosely coupled to the severity type of
DiffGroup
s.- Since:
- 3.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThere are only new affected elements in the second document.There are affected elements in both documents and their number is equal as they are themselves basically equal.There are only removed affected elements in the first document.There are affected elements in both documents but their number may differ.A validation error is an indicator for a problem on a singular element. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static Modification.ModificationType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
add
There are only new affected elements in the second document. Attribute changes do not apply and are empty. -
remove
There are only removed affected elements in the first document. Attribute changes do not apply and are empty. -
replace
There are affected elements in both documents but their number may differ. Attribute changes do not apply and are empty. -
attributeDifference
There are affected elements in both documents and their number is equal as they are themselves basically equal. Since their style or other attributed where changed, the attribute-difference does apply to all elements in this modification. -
validationError
A validation error is an indicator for a problem on a singular element. The Element will only be highlighted, but no grouped change should be displayed.- Since:
- 5.2
-
-
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
-