Interface NameBound

  • All Known Implementing Classes:
    ContractProvider, ResourceMethod

    public interface NameBound
    Model component that can be name bound. A component implementing this interface provides additional information about the name bindings attached to it.
    See Also:
    NameBinding
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> getNameBindings()
      Get the collection of name bindings attached to this component.
      boolean isNameBound()
      Check if the component is bound or not.
    • Method Detail

      • isNameBound

        boolean isNameBound()
        Check if the component is bound or not.
        Returns:
        true if the component is bound, false otherwise.
      • getNameBindings

        java.util.Collection<java.lang.Class<? extends java.lang.annotation.Annotation>> getNameBindings()
        Get the collection of name bindings attached to this component.
        Returns:
        collection of name binding annotation types.