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

public class OpenMetadataArchiveTypeStore extends OpenMetadataArchiveElementHeader
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 Details

    • OpenMetadataArchiveTypeStore

      public OpenMetadataArchiveTypeStore()
      Default constructor for OpenMetadataArchiveTypeStore relies on variables being initialized in their declaration.
    • OpenMetadataArchiveTypeStore

      public OpenMetadataArchiveTypeStore(OpenMetadataArchiveTypeStore template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getAttributeTypeDefs

      public List<AttributeTypeDef> getAttributeTypeDefs()
      Return the list of attribute types used in this archive.
      Returns:
      list of AttributeTypeDef objects
    • setAttributeTypeDefs

      public void setAttributeTypeDefs(List<AttributeTypeDef> attributeTypeDefs)
      Set up the list of attribute types used in this archive.
      Parameters:
      attributeTypeDefs - list of AttributeTypeDef objects
    • getTypeDefPatches

      public List<TypeDefPatch> getTypeDefPatches()
      Return the list of TypeDef patches from this archive.
      Returns:
      list of TypeDef objects
    • setTypeDefPatches

      public void setTypeDefPatches(List<TypeDefPatch> typeDefPatches)
      Set up the list of TypeDef patches from this archive.
      Parameters:
      typeDefPatches - list of TypeDef objects
    • getNewTypeDefs

      public List<TypeDef> getNewTypeDefs()
      Return the list of new TypeDefs in this open metadata archive.
      Returns:
      list of TypeDef objects
    • setNewTypeDefs

      public void setNewTypeDefs(List<TypeDef> newTypeDefs)
      Set up the list of new TypeDefs in this open metadata archive.
      Parameters:
      newTypeDefs - list of TypeDef objects
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class Object
      Returns:
      JSON style description of variables.
    • equals

      public boolean equals(Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - object
      Returns:
      boolean result
    • hashCode

      public int hashCode()
      Return a hash code based on the values of this object.
      Overrides:
      hashCode in class Object
      Returns:
      in hash code