Interface InjectableAttribute


public interface InjectableAttribute
Describes an 'injectable' attribute (i.e., an AttributeDescriptor that should be injected into specific MetacardTypes or into all MetacardTypes).

This code is experimental. While this interface is functional and tested, it may change or be removed in a future version of the library.

  • Method Details

    • attribute

      String attribute()
      Returns the name of the AttributeDescriptor to be injected.
      Returns:
      the name of the AttributeDescriptor to be injected
    • metacardTypes

      Set<String> metacardTypes()
      Returns the names of the MetacardTypes into which this attribute should be injected.

      Should return an empty set if this attribute should be injected into all MetacardTypes.

      Returns:
      the names of the MetacardTypes into which this attribute should be injected, or an empty set if this attribute should be injected into all MetacardTypes