Class OpenMetadataArchiveTypeStore
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveTypeStore
- All Implemented Interfaces:
Serializable
OpenMetadataArchiveTypeStore defines the contents of the TypeStore in an open metadata archive. The TypeStore
contains a list of types used for attributes, a list of type definition (TypeDef) patches to update existing types
and a list of TypeDefs for new types of classifications, entities and relationships.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor for OpenMetadataArchiveTypeStore relies on variables being initialized in their declaration.Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the list of attribute types used in this archive.Return the list of new TypeDefs in this open metadata archive.Return the list of TypeDef patches from this archive.int
hashCode()
Return a hash code based on the values of this object.void
setAttributeTypeDefs
(List<AttributeTypeDef> attributeTypeDefs) Set up the list of attribute types used in this archive.void
setNewTypeDefs
(List<TypeDef> newTypeDefs) Set up the list of new TypeDefs in this open metadata archive.void
setTypeDefPatches
(List<TypeDefPatch> typeDefPatches) Set up the list of TypeDef patches from this archive.toString()
Standard toString method.
-
Constructor Details
-
OpenMetadataArchiveTypeStore
public OpenMetadataArchiveTypeStore()Default constructor for OpenMetadataArchiveTypeStore relies on variables being initialized in their declaration. -
OpenMetadataArchiveTypeStore
Copy/clone constructor- Parameters:
template
- object to copy
-
-
Method Details
-
getAttributeTypeDefs
Return the list of attribute types used in this archive.- Returns:
- list of AttributeTypeDef objects
-
setAttributeTypeDefs
Set up the list of attribute types used in this archive.- Parameters:
attributeTypeDefs
- list of AttributeTypeDef objects
-
getTypeDefPatches
Return the list of TypeDef patches from this archive.- Returns:
- list of TypeDef objects
-
setTypeDefPatches
Set up the list of TypeDef patches from this archive.- Parameters:
typeDefPatches
- list of TypeDef objects
-
getNewTypeDefs
Return the list of new TypeDefs in this open metadata archive.- Returns:
- list of TypeDef objects
-
setNewTypeDefs
Set up the list of new TypeDefs in this open metadata archive.- Parameters:
newTypeDefs
- list of TypeDef objects
-
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.
-