Enum Class MappingStrengthType
java.lang.Object
java.lang.Enum<MappingStrengthType>
com.evolveum.midpoint.xml.ns._public.common.common_3.MappingStrengthType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<MappingStrengthType>
,Constable
Strength of the mapping defines how aggressively will
the mapping be applied. The strongest mappings are
applied all the time (regardless of the consequences)
and the weakest mappings are applied only if nothing
else can be applied.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MappingStrengthType
value()
Returns enum value defined as in schema.static MappingStrengthType
Returns the enum constant of this class with the specified name.static MappingStrengthType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRONG
Always applied, regardless of context. Strong mappings enforce particular values. -
NORMAL
Apply the mapping unless there is a more specific change. -
WEAK
Apply the mapping only if there is a no other change on target property and the target property does not have any value. This mapping strength is use to set initial (default) values for attributes and properties.
-
-
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
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-