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 java.lang.String DEFAULT
      Default element value for annotation.
      static java.lang.String MULTIPLE
      Indicates if the requirement can be wired multiple times.
      static java.lang.String SINGLE
      Indicates if the requirement can only be wired a single time.
    • Field Detail

      • SINGLE

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

        static final java.lang.String MULTIPLE
        Indicates if the requirement can be wired multiple times.
        See Also:
        Constant Field Values
      • DEFAULT

        static final java.lang.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:
        Constant Field Values