Enum Class MendelConfigurationProperty

java.lang.Object
java.lang.Enum<MendelConfigurationProperty>
org.odpi.openmetadata.adapters.connectors.mendel.controls.MendelConfigurationProperty
All Implemented Interfaces:
Serializable, Comparable<MendelConfigurationProperty>, Constable

public enum MendelConfigurationProperty extends Enum<MendelConfigurationProperty>
MendelConfigurationProperty provides definitions for the configuration properties used with the Mendel Automated Duplicate Manager.
  • Enum Constant Details

    • DUPLICATE_CLUSTER_SIZE

      public static final MendelConfigurationProperty DUPLICATE_CLUSTER_SIZE
      The number of validated peer duplicates that must be linked together before they are consolidated into a single element.
    • DUPLICATE_RELATIONSHIP_TYPES

      public static final MendelConfigurationProperty DUPLICATE_RELATIONSHIP_TYPES
      The relationship types whose duplicate instances are removed. Two relationships are duplicates when they are of the same type, connect the same two elements, and have the same properties and effectivity dates. The oldest is kept.
    • DUPLICATE_ATTACHMENT_TYPES

      public static final MendelConfigurationProperty DUPLICATE_ATTACHMENT_TYPES
      The relationship types that attach elements to an element (at end 1) where duplicate attached elements are removed. Two attached elements are duplicates when they are anchored to the same element through the same type of relationship, are of the same type, and have the same properties. The oldest is kept.
    • REPORT_DUPLICATES_ONLY

      public static final MendelConfigurationProperty REPORT_DUPLICATES_ONLY
      Report the duplicate relationships and attached elements in the audit log without removing them.
  • Field Details

    • name

      public final String name
    • description

      public final String description
    • dataType

      public final String dataType
    • example

      public final String example
    • isPlaceholder

      public final boolean isPlaceholder
    • DEFAULT_DUPLICATE_CLUSTER_SIZE

      public static final int DEFAULT_DUPLICATE_CLUSTER_SIZE
      The default number of validated peer duplicates in a cluster before they are consolidated.
      See Also:
    • DEFAULT_DUPLICATE_RELATIONSHIP_TYPES

      public static final List<String> DEFAULT_DUPLICATE_RELATIONSHIP_TYPES
      The relationship types whose duplicates are removed in the standard deployment: the links that a connector re-creates each time it catalogues a document can multiply when the document is catalogued again.
    • DEFAULT_DUPLICATE_ATTACHMENT_TYPES

      public static final List<String> DEFAULT_DUPLICATE_ATTACHMENT_TYPES
      The attachment relationship types whose duplicate attached elements are removed in the standard deployment.
  • Method Details

    • values

      public static MendelConfigurationProperty[] 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 MendelConfigurationProperty 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
    • getName

      public String getName()
      Return the name of the configuration property.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the configuration property.
      Returns:
      string description
    • getDataType

      public String getDataType()
      Return the data type for the configuration property.
      Returns:
      string data type name
    • getExample

      public String getExample()
      Return an example of the configuration property to help users understand how to set it up.
      Returns:
      string example
    • isPlaceholder

      public boolean isPlaceholder()
      Return whether this value is also used as a placeholder property.
      Returns:
      boolean
    • getConfigurationPropertyTypes

      public static List<ConfigurationPropertyType> getConfigurationPropertyTypes()
      Retrieve the defined configuration properties as a list of the type used in the connector's specification.
      Returns:
      list
    • getConfigurationPropertyType

      public ConfigurationPropertyType getConfigurationPropertyType()
      Return a summary of this enum to use in the connector's specification.
      Returns:
      configuration property type
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<MendelConfigurationProperty>
      Returns:
      string showing enum value