Enum Class Differences.SidePresent
java.lang.Object
java.lang.Enum<Differences.SidePresent>
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Differences.SidePresent
- All Implemented Interfaces:
Serializable
,Comparable<Differences.SidePresent>
,Constable
- Enclosing class:
- Differences
Defines the valid values for the differences.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDifferences on both sides.OnlyOnLeft - values that only appear on the 'left' object (the one from which differences were checked)No differences.OnlyOnRight - values that only appear on the 'right' object (the one passed as an argument when differences were calculated) -
Method Summary
Modifier and TypeMethodDescriptionstatic Differences.SidePresent
Returns the enum constant of this class with the specified name.static Differences.SidePresent[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LEFT_ONLY
OnlyOnLeft - values that only appear on the 'left' object (the one from which differences were checked) -
RIGHT_ONLY
OnlyOnRight - values that only appear on the 'right' object (the one passed as an argument when differences were calculated) -
NEITHER
No differences. -
BOTH
Differences on both sides.
-
-
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
-