Package org.incenp.obofoundry.sssom
Enum Class PropagationPolicy
- All Implemented Interfaces:
Serializable
,Comparable<PropagationPolicy>
,Constable
The policy that defines how to propagate values between the mapping set level
and the level of individual mappings.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAlways propagate the value from the source object to the destination objects, regardless of whether a destination object already has a value for the slot being propagated.Never propagate values between mapping set level and individual mappings.If any of the destination objects already has a value for the slot being propagated, do not propagate anything.Propagate the value from the source object to the destination objects, only for objects that do not already have a value for the slot being propagated. -
Method Summary
Modifier and TypeMethodDescriptionstatic PropagationPolicy
Returns the enum constant of this class with the specified name.static PropagationPolicy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AlwaysReplace
Always propagate the value from the source object to the destination objects, regardless of whether a destination object already has a value for the slot being propagated. -
ReplaceIfUnset
Propagate the value from the source object to the destination objects, only for objects that do not already have a value for the slot being propagated. -
NeverReplace
If any of the destination objects already has a value for the slot being propagated, do not propagate anything. -
Disabled
Never propagate values between mapping set level and individual mappings.
-
-
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
-