Enum Class OpenMetadataExchangeRule
java.lang.Object
java.lang.Enum<OpenMetadataExchangeRule>
org.odpi.openmetadata.adminservices.configuration.properties.OpenMetadataExchangeRule
- All Implemented Interfaces:
Serializable
,Comparable<OpenMetadataExchangeRule>
,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionRegistration plus all type definitions (TypeDefs) and metadata instances (Entities, Classifications and Relationships).Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) NOT listed in selected types.Only registration and type definitions (TypeDefs) exchange.Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) of types requested by local users to this server.Only registration exchange; no TypeDefs or metadata instances.Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) of selected types. -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of this metadata instance replication rule.getName()
Return the name of this metadata instance replication rule.int
Return the code number of this metadata instance replication rule.toString()
Standard toString method.static OpenMetadataExchangeRule
Returns the enum constant of this class with the specified name.static OpenMetadataExchangeRule[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REGISTRATION_ONLY
Only registration exchange; no TypeDefs or metadata instances. -
JUST_TYPEDEFS
Only registration and type definitions (TypeDefs) exchange. -
SELECTED_TYPES
Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) of selected types. -
LEARNED_TYPES
Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) of types requested by local users to this server. -
DESELECTED_TYPES
Registration plus all type definitions (TypeDefs) and metadata instances (Entities and Relationships) NOT listed in selected types. -
ALL
Registration plus all type definitions (TypeDefs) and metadata instances (Entities, Classifications and Relationships).
-
-
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
-
getOrdinal
public int getOrdinal()Return the code number of this metadata instance replication rule.- Returns:
- int replication rule code number
-
getName
Return the name of this metadata instance replication rule.- Returns:
- String replication rule name
-
getDescription
Return the description of this metadata instance replication rule.- Returns:
- String replication rule description
-
toString
Standard toString method.- Overrides:
toString
in classEnum<OpenMetadataExchangeRule>
- Returns:
- print out of variables in a JSON-style
-