Class StandardMessageName

java.lang.Object
org.apache.nifi.schemaregistry.services.StandardMessageName
All Implemented Interfaces:
MessageName

public class StandardMessageName extends Object implements MessageName
  • Field Details

  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Description copied from interface: MessageName
      Returns the simple name of the message without any package qualification.
      Specified by:
      getName in interface MessageName
      Returns:
      the message name
    • getNamespace

      public Optional<String> getNamespace()
      Description copied from interface: MessageName
      Returns the namespace that contains this message, if present.
      Specified by:
      getNamespace in interface MessageName
      Returns:
      an Optional containing the namespace name, or empty if the message is not contained within a namespace
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object