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:
com.inet.pdfc.config.ColorSetting,VisibilitySetting,Serializable,Comparable<Modification.ModificationType>,Constable
- Enclosing class:
- Modification
public static enum Modification.ModificationType
extends Enum<Modification.ModificationType>
implements com.inet.pdfc.config.ColorSetting
The type of the modification which side has modifications and whether the changes do apply-
This is loosely coupled to the severity type of
DiffGroups.- 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 ConstantsEnum 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.This type occurs for changes in the meta data or a page or the whole document.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 localized name for this typegetTyp()The Visibility Type for this Setting (Enum)Returns 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.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface com.inet.pdfc.config.VisibilitySetting
getTranslationKey, name
-
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
-
metadataChanged
This type occurs for changes in the meta data or a page or the whole document.
NOTE: These elements in this group have artificial bounds to place them at least inside the document area. Their bounds do NOT necessarily represent the bounds of the references pages, the document, etc.- Since:
- 25.10
-
-
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
-
getTyp
Description copied from interface:VisibilitySettingThe Visibility Type for this Setting (Enum)- Specified by:
getTypin interfaceVisibilitySetting- Returns:
- Type of Enum
-
getLocalizedName
Returns the localized name for this type- Returns:
- the localized name for this type
-