Enum Class UpdateMode
- All Implemented Interfaces:
Serializable
,Comparable<UpdateMode>
,Constable
The update mode is used to determine when/if an element reference should be updated and/or checked by validation
-
Enum Constant Summary
Enum ConstantDescriptionText containing references shall be checked by validation automatically for consistencyText containing references shall be updated if referred element changesText containing references shall be checked for consistency when validation is run manuallyText containing references shall not be updated if referred element changes -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateMode
getUpdateMode
(String name, UpdateMode defaultValue) static UpdateMode
Returns the enum constant of this class with the specified name.static UpdateMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC_UPDATE
Text containing references shall be updated if referred element changes -
AUTOMATIC_CHECK
Text containing references shall be checked by validation automatically for consistency -
MANUAL_CHECK
Text containing references shall be checked for consistency when validation is run manually -
NO_UPDATE
Text containing references shall not be updated if referred element changes
-
-
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
-
getUpdateMode
-