Class OMRSEventV1TypeDefSection

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

public class OMRSEventV1TypeDefSection extends Object implements Serializable
OMRSEventV1TypeDefSection describes the properties specific to TypeDef related events
See Also:
  • Constructor Details

    • OMRSEventV1TypeDefSection

      public OMRSEventV1TypeDefSection()
      Default constructor
  • Method Details

    • getTypeDefEventType

      public OMRSTypeDefEventType getTypeDefEventType()
      Return the reason for the event.
      Returns:
      enum
    • setTypeDefEventType

      public void setTypeDefEventType(OMRSTypeDefEventType typeDefEventType)
      Set up the reason for the event.
      Parameters:
      typeDefEventType - enum
    • getTypeDefGUID

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

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

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

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

      public AttributeTypeDef getAttributeTypeDef()
      Return the associated attribute type.
      Returns:
      attribute typeDef
    • setAttributeTypeDef

      public void setAttributeTypeDef(AttributeTypeDef attributeTypeDef)
      Set up the associated attribute type.
      Parameters:
      attributeTypeDef - attribute typeDef
    • getTypeDef

      public TypeDef getTypeDef()
      Return the type for the event.
      Returns:
      typeDef
    • setTypeDef

      public void setTypeDef(TypeDef typeDef)
      Set up the type for the event.
      Parameters:
      typeDef - typeDef
    • getTypeDefPatch

      public TypeDefPatch getTypeDefPatch()
      Return the patch (changes) to a type.
      Returns:
      typeDefPatch
    • setTypeDefPatch

      public void setTypeDefPatch(TypeDefPatch typeDefPatch)
      Set up the patch (changes) to a type.
      Parameters:
      typeDefPatch - typeDefPatch
    • getOriginalTypeDefSummary

      public TypeDefSummary getOriginalTypeDefSummary()
      Return the type before the change.
      Returns:
      typeDef summary
    • setOriginalTypeDefSummary

      public void setOriginalTypeDefSummary(TypeDefSummary originalTypeDefSummary)
      Set up the type before the change.
      Parameters:
      originalTypeDefSummary - typeDef summary
    • getOriginalAttributeTypeDef

      public AttributeTypeDef getOriginalAttributeTypeDef()
      Return the attribute before the change.
      Returns:
      attribute typeDef
    • setOriginalAttributeTypeDef

      public void setOriginalAttributeTypeDef(AttributeTypeDef originalAttributeTypeDef)
      Set up the attribute before the change.
      Parameters:
      originalAttributeTypeDef - attribute typeDef
    • toString

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