Class OpenMetadataArchiveInstanceStore

  • All Implemented Interfaces:
    java.io.Serializable

    public class OpenMetadataArchiveInstanceStore
    extends OpenMetadataArchiveElementHeader
    OpenMetadataArchiveInstanceStore defines the contents of the InstanceStore in an open metadata archive. It consists of a list of entities, a list of relationships and a list of classifications.
    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.instances.ClassificationEntityExtension> getClassifications()
      Return the list of classifications defined in this open metadata archive.
      java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> getEntities()
      Return the list of entities defined in the open metadata archive.
      java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> getRelationships()
      Return the list of relationships defined in this open metadata archive.
      int hashCode()
      Return a hash code based on the values of this object.
      void setClassifications​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.ClassificationEntityExtension> classifications)
      Set up the list of classification objects defined in the open metadata archive.
      void setEntities​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> entities)
      Set up the list of entities defined in the open metadata archive.
      void setRelationships​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> relationships)
      Set up the list of relationships defined in this open metadata 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

      • OpenMetadataArchiveInstanceStore

        public OpenMetadataArchiveInstanceStore()
        Default constructor relying on the initialization of variables in their declaration.
      • OpenMetadataArchiveInstanceStore

        public OpenMetadataArchiveInstanceStore​(OpenMetadataArchiveInstanceStore template)
        Copy/clone constructor
        Parameters:
        template - object to copy
    • Method Detail

      • getEntities

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> getEntities()
        Return the list of entities defined in the open metadata archive.
        Returns:
        list of entities
      • setEntities

        public void setEntities​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail> entities)
        Set up the list of entities defined in the open metadata archive.
        Parameters:
        entities - list of entities
      • getRelationships

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> getRelationships()
        Return the list of relationships defined in this open metadata archive.
        Returns:
        list of relationships
      • setRelationships

        public void setRelationships​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship> relationships)
        Set up the list of relationships defined in this open metadata archive.
        Parameters:
        relationships - list of relationship objects
      • getClassifications

        public java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.ClassificationEntityExtension> getClassifications()
        Return the list of classifications defined in this open metadata archive.
        Returns:
        list of classification objects
      • setClassifications

        public void setClassifications​(java.util.List<org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.ClassificationEntityExtension> classifications)
        Set up the list of classification objects defined in the open metadata archive.
        Parameters:
        classifications - list of classification 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