Enum OpenMetadataArchiveType
- java.lang.Object
-
- java.lang.Enum<OpenMetadataArchiveType>
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveType
-
- All Implemented Interfaces:
Serializable,Comparable<OpenMetadataArchiveType>
public enum OpenMetadataArchiveType extends Enum<OpenMetadataArchiveType> implements Serializable
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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTENT_PACKMETADATA_EXPORTREPOSITORY_BACKUP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Return the default description of the archive type.StringgetName()Return the printable name for the archive type.intgetOrdinal()Return the code number for the archive type.StringtoString()toString() JSON-stylestatic OpenMetadataArchiveTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpenMetadataArchiveType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONTENT_PACK
public static final OpenMetadataArchiveType CONTENT_PACK
-
METADATA_EXPORT
public static final OpenMetadataArchiveType METADATA_EXPORT
-
REPOSITORY_BACKUP
public static final OpenMetadataArchiveType REPOSITORY_BACKUP
-
-
Method Detail
-
values
public static OpenMetadataArchiveType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpenMetadataArchiveType c : OpenMetadataArchiveType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpenMetadataArchiveType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
public String getName()
Return the printable name for the archive type.- Returns:
- String archive type name
-
getDescription
public String getDescription()
Return the default description of the archive type.- Returns:
- String archive description
-
toString
public String toString()
toString() JSON-style- Overrides:
toStringin classEnum<OpenMetadataArchiveType>- Returns:
- string description
-
-