Class OpenMetadataArchiveTypeStore

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object objectToCompare)
      Validate that an object is equal depending on their stored values.
      java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.AttributeTypeDef> getAttributeTypeDefs()
      Return the list of attribute types used in this archive.
      java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef> getNewTypeDefs()
      Return the list of new TypeDefs in this open metadata archive.
      java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefPatch> getTypeDefPatches()
      Return the list of TypeDef patches from this archive.
      int hashCode()
      Return a hash code based on the values of this object.
      void setAttributeTypeDefs​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.AttributeTypeDef> attributeTypeDefs)
      Set up the list of attribute types used in this archive.
      void setNewTypeDefs​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef> newTypeDefs)
      Set up the list of new TypeDefs in this open metadata archive.
      void setTypeDefPatches​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefPatch> typeDefPatches)
      Set up the list of TypeDef patches from this archive.
      java.lang.String toString()
      Standard toString method.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • getAttributeTypeDefs

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.AttributeTypeDef> getAttributeTypeDefs()
        Return the list of attribute types used in this archive.
        Returns:
        list of AttributeTypeDef objects
      • setAttributeTypeDefs

        public void setAttributeTypeDefs​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.AttributeTypeDef> attributeTypeDefs)
        Set up the list of attribute types used in this archive.
        Parameters:
        attributeTypeDefs - list of AttributeTypeDef objects
      • getTypeDefPatches

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefPatch> getTypeDefPatches()
        Return the list of TypeDef patches from this archive.
        Returns:
        list of TypeDef objects
      • setTypeDefPatches

        public void setTypeDefPatches​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefPatch> typeDefPatches)
        Set up the list of TypeDef patches from this archive.
        Parameters:
        typeDefPatches - list of TypeDef objects
      • getNewTypeDefs

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef> getNewTypeDefs()
        Return the list of new TypeDefs in this open metadata archive.
        Returns:
        list of TypeDef objects
      • setNewTypeDefs

        public void setNewTypeDefs​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDef> newTypeDefs)
        Set up the list of new TypeDefs in this open metadata archive.
        Parameters:
        newTypeDefs - list of TypeDef objects
      • toString

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

        public boolean equals​(java.lang.Object objectToCompare)
        Validate that an object is equal depending on their stored values.
        Overrides:
        equals in class java.lang.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 java.lang.Object
        Returns:
        in hash code