org.qi4j.tools.model.descriptor

## Class CompositeDetailDescriptor<T extends CompositeDescriptor>

- java.lang.Object
- - org.qi4j.tools.model.descriptor.CompositeDetailDescriptor<T>

- Type Parameters:
    `T` - CompositeDescriptor type
  Direct Known Subclasses:
    EntityDetailDescriptor, ImportedServiceDetailDescriptor, ServiceDetailDescriptor, TransientDetailDescriptor, ValueDetailDescriptor

      public abstract class CompositeDetailDescriptor<T extends CompositeDescriptor>
      extends Object

  Composite Detail Descriptor.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected T` | `descriptor`
    `protected List<CompositeMethodDetailDescriptor>` | `methods`
    `protected List<MixinDetailDescriptor>` | `mixins`
    `protected ModuleDetailDescriptor` | `module`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `descriptor()`
    `CompositeMethodDetailDescriptor` | `getMethodDescriptor(Method aMethod)` Return method detail descriptor of the requested method.
    `Iterable<CompositeMethodDetailDescriptor>` | `methods()`
    `Iterable<MixinDetailDescriptor>` | `mixins()`
    `ModuleDetailDescriptor` | `module()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Field Detail

    - #### descriptor

          protected final T extends CompositeDescriptor descriptor

    - #### module

          protected ModuleDetailDescriptor module

    - #### methods

          protected final List<CompositeMethodDetailDescriptor> methods

    - #### mixins

          protected final List<MixinDetailDescriptor> mixins

  - ### Method Detail

    - #### descriptor

          public final T descriptor()

      Returns:
        Descriptor of this `CompositeDetailDescriptor`. Never return `null`.
      Since:
        0.5

    - #### methods

          public final Iterable<CompositeMethodDetailDescriptor> methods()

      Returns:
        Methods of this `CompositeDetailDescriptor`. Never return `null`.
      Since:
        0.5

    - #### mixins

          public final Iterable<MixinDetailDescriptor> mixins()

      Returns:
        Mixins of this `CompositeDetailDescriptor`. Never return `null`.
      Since:
        0.5

    - #### getMethodDescriptor

          public final CompositeMethodDetailDescriptor getMethodDescriptor(Method aMethod)

      Return method detail descriptor of the requested method. Returns `null` if not found.
      Parameters:
        `aMethod` - Method to look up. This argument must not be `null`.
      Returns:
        method detail descriptor of the requested method.
      Since:
        0.5

    - #### module

          public final ModuleDetailDescriptor module()

      Returns:
        Module that own this `CompositeDetailDescriptor`.
      Since:
        0.5

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`