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

public enum MappingStrengthType extends Enum<MappingStrengthType> implements TypeSafeEnum
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.
  • Enum Constant Details

    • STRONG

      public static final MappingStrengthType STRONG
      Always applied, regardless of context. Strong mappings enforce particular values.
    • NORMAL

      public static final MappingStrengthType NORMAL
      Apply the mapping unless there is a more specific change.
    • WEAK

      public static final MappingStrengthType 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

      public static MappingStrengthType[] 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

      public static MappingStrengthType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static MappingStrengthType fromValue(String v)