bdi4jade.annotation

## Annotation Type Belief

-     @Documented
       @Retention(value=RUNTIME)
       @Target(value=FIELD)
      public @interface Belief

  This annotation allows to specify that an attribute of a `Capability` is a belief that should be added to the capability belief base. It can also be used in plan bodies (`PlanBody`) so that beliefs are injected in plan body attributes and, in this case, a name may be provided to retrieve the belief. If no name is provided, the attribute name is used. The annotated field should be of the type `Belief`.
  Author:
    Ingrid Nunes

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `java.lang.String` | `name` Returns the name of the belief, if it is a string, to be retrieved from the belief base, in case this annotation is used in a `PlanBody`.

- - ### Element Detail

    - #### name

          public abstract java.lang.String name

      Returns the name of the belief, if it is a string, to be retrieved from the belief base, in case this annotation is used in a `PlanBody`. If no name is provided, the attribute name is used.
      Returns:
        the belief name.
      Default:
        ""