Enum Class OpenMetadataExchangeRule

java.lang.Object
java.lang.Enum<OpenMetadataExchangeRule>
org.odpi.openmetadata.adminservices.configuration.properties.OpenMetadataExchangeRule
All Implemented Interfaces:
Serializable, Comparable<OpenMetadataExchangeRule>, Constable

public enum OpenMetadataExchangeRule extends Enum<OpenMetadataExchangeRule> implements Serializable
OpenMetadataExchangeRule controls the sending/receiving of metadata instances on the metadata highway.
  • REGISTRATION_ONLY means do not send/receive reference metadata - just perform the minimal registration exchanges.
  • JUST_TYPEDEFS means only send/receive/validate type definitions (TypeDefs).
  • SELECTED_TYPES means that in addition to TypeDefs events, only metadata instances of the types supplied in the related list of TypeDefs (see typesToSend, typesToSave and typesToFederate) should be processed.
  • DESELECTED_TYPES means that in addition to TypeDefs events, only metadata instances NOT of the types supplied in the related list of TypeDefs (see typesToSend, typesToSave and typesToFederate) should be processed.
  • LEARNED_TYPES means that the local repository requests reference copies of metadata based on the requests of the local user community.
  • ALL means send/receive all types of metadata that are supported by the local repository.
  • Enum Constant Details

  • Method Details

    • values

      public static OpenMetadataExchangeRule[] 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 OpenMetadataExchangeRule 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
    • getOrdinal

      public int getOrdinal()
      Return the code number of this metadata instance replication rule.
      Returns:
      int replication rule code number
    • getName

      public String getName()
      Return the name of this metadata instance replication rule.
      Returns:
      String replication rule name
    • getDescription

      public String getDescription()
      Return the description of this metadata instance replication rule.
      Returns:
      String replication rule description
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Enum<OpenMetadataExchangeRule>
      Returns:
      print out of variables in a JSON-style