java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveInstanceStore
All Implemented Interfaces:
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:
  • Constructor Details

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

    • getEntities

      public List<EntityDetail> getEntities()
      Return the list of entities defined in the open metadata archive.
      Returns:
      list of entities
    • setEntities

      public void setEntities(List<EntityDetail> entities)
      Set up the list of entities defined in the open metadata archive.
      Parameters:
      entities - list of entities
    • getRelationships

      public List<Relationship> getRelationships()
      Return the list of relationships defined in this open metadata archive.
      Returns:
      list of relationships
    • setRelationships

      public void setRelationships(List<Relationship> relationships)
      Set up the list of relationships defined in this open metadata archive.
      Parameters:
      relationships - list of relationship objects
    • getClassifications

      public List<ClassificationEntityExtension> getClassifications()
      Return the list of classifications defined in this open metadata archive.
      Returns:
      list of classification objects
    • setClassifications

      public void setClassifications(List<ClassificationEntityExtension> classifications)
      Set up the list of classification objects defined in the open metadata archive.
      Parameters:
      classifications - list of classification 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