Annotationsschnittstelle Module


Identifies a DDD module.
Autor:
Christian Stettler, Henning Schwentner, Stephan Pirnbaum, Martin Schimak, Oliver Drotbohm
Siehe auch:
  • Optionale Elemente - Übersicht

    Optionale Elemente
    Modifizierer und Typ
    Optionales Element
    Beschreibung
    A human readable description for the module.
    A stable identifier for the module.
    A human readable name for the module.
    An alias for name().
  • Elementdetails

    • id

      String id
      A stable identifier for the module. If not defined, an identifier will be derived from the annotated element, usually a package. That allows tooling to derive name and description by applying some kind of convention to the identifier.

      Assuming a package com.acme.myapp.module annotated with Module, tooling could use a resource bundle to lookup the keys com.acme.myapp.module._name and com.acme.myapp.module_description to resolve name and description respectively.

      Gibt zurück:
      Standard:
      ""
    • name

      String name
      A human readable name for the module. Might be overridden by an external resolution mechanism via id(). Tooling should prevent both value() and name() from being configured at the same time. If in doubt, the value defined in name() will be preferred.
      Gibt zurück:
      Siehe auch:
      Standard:
      ""
    • value

      String value
      An alias for name(). Tooling should prevent both value() and name() from being configured at the same time. If in doubt, the value defined in name() will be preferred.
      Gibt zurück:
      Siehe auch:
      Standard:
      ""
    • description

      String description
      A human readable description for the module. Might be overridden by an external resolution mechanism via id().
      Gibt zurück:
      Siehe auch:
      Standard:
      ""