Class OpenMetadataArchive
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchive
- All Implemented Interfaces:
Serializable
OpenMetadataArchive defines the structure of the properties in an open metadata archive.
There are 3 sections:
- ArchiveProperties: provides details of the source and contents of the archive.
- TypeStore: a list of new AttributeTypeDefs, new TypeDefs and patches to existing TypeDefs.
- InstanceStore: a list of new metadata instances (Entities, Relationships and Classifications).
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor relies on the initialization of variables in their type declaration.OpenMetadataArchive
(OpenMetadataArchive template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the InstanceStore for this archive.Return details of the archive.Return the TypeStore for this archive.int
hashCode()
Return a hash code based on the values of this object.void
setArchiveInstanceStore
(OpenMetadataArchiveInstanceStore archiveInstanceStore) Set up the InstanceStore for this archive.void
setArchiveProperties
(OpenMetadataArchiveProperties archiveProperties) Set the archive properties for a new archive.void
setArchiveTypeStore
(OpenMetadataArchiveTypeStore archiveTypeStore) Set up the TypeStore for this archive.toString()
Standard toString method.
-
Constructor Details
-
OpenMetadataArchive
public OpenMetadataArchive()Default constructor relies on the initialization of variables in their type declaration. -
OpenMetadataArchive
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getArchiveProperties
Return details of the archive.- Returns:
- OpenMetadataArchiveProperties object
-
setArchiveProperties
Set the archive properties for a new archive.- Parameters:
archiveProperties
- the descriptive properties of the archive
-
getArchiveTypeStore
Return the TypeStore for this archive. The TypeStore contains TypeDefs and TypeDef patches.- Returns:
- OpenMetadataArchiveTypeStore object
-
setArchiveTypeStore
Set up the TypeStore for this archive. The TypeStore contains TypeDefs and TypeDef patches.- Parameters:
archiveTypeStore
- OpenMetadataArchiveTypeStore object
-
getArchiveInstanceStore
Return the InstanceStore for this archive. The InstanceStore contains entity and relationship metadata instances.- Returns:
- OpenMetadataArchiveInstanceStore object
-
setArchiveInstanceStore
Set up the InstanceStore for this archive. The InstanceStore contains entity and relationship metadata instances.- Parameters:
archiveInstanceStore
- OpenMetadataArchiveInstanceStore object
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values. -
hashCode
public int hashCode()Return a hash code based on the values of this object.
-