Interface Cardinality


public interface Cardinality
For use in the creation of custom bundle annotations wishing to control the cardinality of generated requirements.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default element value for annotation.
    static final String
    Indicates if the requirement can be wired multiple times.
    static final String
    Indicates if the requirement can only be wired a single time.
  • Field Details

    • SINGLE

      static final String SINGLE
      Indicates if the requirement can only be wired a single time.
      See Also:
    • MULTIPLE

      static final String MULTIPLE
      Indicates if the requirement can be wired multiple times.
      See Also:
    • DEFAULT

      static final String DEFAULT
      Default element value for annotation. This is used to distinguish the default value for an element and should not otherwise be used.
      See Also: