Annotation Type IpsAssociation


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface IpsAssociation
    Preserves design time information about a model association for runtime reference via Association.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      AssociationKind kind  
      int max
      Maximal number of targets for this association
      int min
      Minimal number of targets for this association
      java.lang.String name
      The name used for a/the single target of the association.
      java.lang.Class<?> targetClass
      The association's target.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String pluralName
      The name used for multiple targets of the association.
    • Element Detail

      • name

        java.lang.String name
        The name used for a/the single target of the association.
      • targetClass

        java.lang.Class<?> targetClass
        The association's target.
      • min

        int min
        Minimal number of targets for this association
      • max

        int max
        Maximal number of targets for this association
      • pluralName

        java.lang.String pluralName
        The name used for multiple targets of the association.
        Default:
        ""