Enum Class OpenMetadataArchiveType
java.lang.Object
java.lang.Enum<OpenMetadataArchiveType>
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveType
- All Implemented Interfaces:
Serializable
,Comparable<OpenMetadataArchiveType>
,Constable
OpenMetadataArchiveType defines the origin of the open metadata archive. Content pack means tha the archive contains
pre-defined types and instances for a particular use case. Metadata export is a collection of types and instances
from a particular metadata server.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionContent Pack - A collection of metadata elements that define a standard or support a specific use case.Metadata Export - A collection of metadata elements that have been extracted from a specific open metadata repository to load into another.Repository Back-up - A collection of metadata elements that have been extracted from a specific open metadata repository to server as a back-up. -
Method Summary
Modifier and TypeMethodDescriptionReturn the default description of the archive type.getName()
Return the printable name for the archive type.int
Return the code number for the archive type.toString()
toString() JSON-stylestatic OpenMetadataArchiveType
Returns the enum constant of this class with the specified name.static OpenMetadataArchiveType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONTENT_PACK
Content Pack - A collection of metadata elements that define a standard or support a specific use case. -
METADATA_EXPORT
Metadata Export - A collection of metadata elements that have been extracted from a specific open metadata repository to load into another. -
REPOSITORY_BACKUP
Repository Back-up - A collection of metadata elements that have been extracted from a specific open metadata repository to server as a back-up.
-
-
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 for the archive type.- Returns:
- int code number
-
getName
Return the printable name for the archive type.- Returns:
- String archive type name
-
getDescription
Return the default description of the archive type.- Returns:
- String archive description
-
toString
toString() JSON-style- Overrides:
toString
in classEnum<OpenMetadataArchiveType>
- Returns:
- string description
-