Package pl.edu.icm.unity.types.basic
Enum Class AttributeStatement.ConflictResolution
java.lang.Object
java.lang.Enum<AttributeStatement.ConflictResolution>
pl.edu.icm.unity.types.basic.AttributeStatement.ConflictResolution
- All Implemented Interfaces:
Serializable
,Comparable<AttributeStatement.ConflictResolution>
,Constable
- Enclosing class:
- AttributeStatement
public static enum AttributeStatement.ConflictResolution
extends Enum<AttributeStatement.ConflictResolution>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIn case of conflict, the attribute values resulting from this statement will be added to the values of the existing attribute.In case of conflict result of this statement will overwrite the existing attribute.In case of conflict this statement will be skipped. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
skip
In case of conflict this statement will be skipped. -
overwrite
In case of conflict result of this statement will overwrite the existing attribute. -
merge
In case of conflict, the attribute values resulting from this statement will be added to the values of the existing attribute. Only new values are added. Values are added only if the attribute type has no upper cardinality bound. If so then the attribute statement is skipped.
-
-
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
-