Class OMRSEventV1InstanceSection

java.lang.Object
org.odpi.openmetadata.repositoryservices.events.beans.v1.OMRSEventV1InstanceSection
All Implemented Interfaces:
Serializable

public class OMRSEventV1InstanceSection extends Object implements Serializable
OMRSEventV1InstanceSection describes the properties specific to instance events
See Also:
  • Constructor Details

    • OMRSEventV1InstanceSection

      public OMRSEventV1InstanceSection()
      Default constructor
  • Method Details

    • getEventType

      public OMRSInstanceEventType getEventType()
      Return the reason for the event.
      Returns:
      enum
    • setEventType

      public void setEventType(OMRSInstanceEventType eventType)
      Set up the reason for the event.
      Parameters:
      eventType - enum
    • getTypeDefGUID

      public String getTypeDefGUID()
      Return the unique identifier of the instance type.
      Returns:
      guid
    • setTypeDefGUID

      public void setTypeDefGUID(String typeDefGUID)
      Set up the unique identifier of the instance type.
      Parameters:
      typeDefGUID - guid
    • getTypeDefName

      public String getTypeDefName()
      Return the unique name of the instance type.
      Returns:
      name
    • setTypeDefName

      public void setTypeDefName(String typeDefName)
      Set up the unique name of the instance type.
      Parameters:
      typeDefName - guid
    • getInstanceGUID

      public String getInstanceGUID()
      Return the unique identifier of the instance.
      Returns:
      guid
    • setInstanceGUID

      public void setInstanceGUID(String instanceGUID)
      Set up the unique identifier of the instance.
      Parameters:
      instanceGUID - guid
    • getOriginalEntity

      public EntityDetail getOriginalEntity()
      Return the entity values before it was updated.
      Returns:
      entity
    • setOriginalEntity

      public void setOriginalEntity(EntityDetail originalEntity)
      Set up the entity values before it was updated.
      Parameters:
      originalEntity - entity
    • getEntity

      public EntityDetail getEntity()
      Return the values for the entity at the end of the operation.
      Returns:
      entity
    • setEntity

      public void setEntity(EntityDetail entity)
      Set up the values for the entity at the end of the operation.
      Parameters:
      entity - entity
    • getEntityProxy

      public EntityProxy getEntityProxy()
      Return associated entity proxy.
      Returns:
      proxy
    • setEntityProxy

      public void setEntityProxy(EntityProxy entityProxy)
      Set up associated entity proxy.
      Parameters:
      entityProxy - proxy
    • getOriginalRelationship

      public Relationship getOriginalRelationship()
      Return values for the relationship before it was changed.
      Returns:
      relationship
    • setOriginalRelationship

      public void setOriginalRelationship(Relationship originalRelationship)
      Set up the values for the relationship before it was changed.
      Parameters:
      originalRelationship - relationship
    • getRelationship

      public Relationship getRelationship()
      Return new relationship values.
      Returns:
      relationship
    • setRelationship

      public void setRelationship(Relationship relationship)
      Set up new relationship values.
      Parameters:
      relationship - relationship
    • getOriginalClassification

      public Classification getOriginalClassification()
      Return the classification before it was changed.
      Returns:
      classification
    • setOriginalClassification

      public void setOriginalClassification(Classification originalClassification)
      Set up the classification before it was changed.
      Parameters:
      originalClassification - classification
    • getClassification

      public Classification getClassification()
      Return the new classification.
      Returns:
      classification
    • setClassification

      public void setClassification(Classification classification)
      Set up new classification.
      Parameters:
      classification - classification
    • getInstanceBatch

      public InstanceGraph getInstanceBatch()
      Return a batch of instances.
      Returns:
      set of instances
    • setInstanceBatch

      public void setInstanceBatch(InstanceGraph instanceBatch)
      Set up a batch of instances.
      Parameters:
      instanceBatch - set of instances
    • getHomeMetadataCollectionId

      public String getHomeMetadataCollectionId()
      Return the new metadata collection unique identifier.
      Returns:
      guid
    • setHomeMetadataCollectionId

      public void setHomeMetadataCollectionId(String homeMetadataCollectionId)
      Set up the new metadata collection unique identifier.
      Parameters:
      homeMetadataCollectionId - guid
    • getOriginalHomeMetadataCollectionId

      public String getOriginalHomeMetadataCollectionId()
      Return the unique identifier of the metadata collection before it was changed.
      Returns:
      guid
    • setOriginalHomeMetadataCollectionId

      public void setOriginalHomeMetadataCollectionId(String originalHomeMetadataCollectionId)
      Set up the unique identifier of the metadata collection before it was changed.
      Parameters:
      originalHomeMetadataCollectionId - guid
    • getOriginalTypeDefSummary

      public TypeDefSummary getOriginalTypeDefSummary()
      Return the type before it was changed.
      Returns:
      type info
    • setOriginalTypeDefSummary

      public void setOriginalTypeDefSummary(TypeDefSummary originalTypeDefSummary)
      Set up the type before it was changed.
      Parameters:
      originalTypeDefSummary - type info
    • getOriginalInstanceGUID

      public String getOriginalInstanceGUID()
      Return the unique identifier of the instance before it was changed.
      Returns:
      guid
    • setOriginalInstanceGUID

      public void setOriginalInstanceGUID(String originalInstanceGUID)
      Set up the unique identifier of the instance before it was changed.
      Parameters:
      originalInstanceGUID - guid
    • toString

      public String toString()
      JSON-style toString.
      Overrides:
      toString in class Object
      Returns:
      list of properties and their values.