java.lang.Object
org.mule.runtime.extension.api.declaration.type.annotation.QNameTypeAnnotation
All Implemented Interfaces:
org.mule.metadata.api.annotation.TypeAnnotation

public final class QNameTypeAnnotation extends Object implements org.mule.metadata.api.annotation.TypeAnnotation
A TypeAnnotation which indicates that the enriched type relates to a QName which is not the one the extension belongs to.
Since:
1.0
  • Field Details

  • Constructor Details

    • QNameTypeAnnotation

      public QNameTypeAnnotation(QName value)
      Creates a new instance
      Parameters:
      value - the referenced QName
  • Method Details

    • getValue

      public QName getValue()
      Returns:
      The referenced QName
    • getName

      public String getName()
      Specified by:
      getName in interface org.mule.metadata.api.annotation.TypeAnnotation
      Returns:
      QName
    • isPublic

      public boolean isPublic()
      Specified by:
      isPublic in interface org.mule.metadata.api.annotation.TypeAnnotation
      Returns:
      true
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object