Interface ManagedObjectDependencyType<D extends Enum<D>>

All Superinterfaces:
AnnotatedType
All Known Implementing Classes:
ManagedObjectDependencyTypeImpl

public interface ManagedObjectDependencyType<D extends Enum<D>> extends AnnotatedType
Type definition of a dependency required by the ManagedObject.
Author:
Daniel Sagenschneider
  • Method Details

    • getDependencyName

      String getDependencyName()
      Obtains the name of the dependency.
      Returns:
      Name of the dependency.
    • getIndex

      int getIndex()

      Obtains the index identifying the dependency.

      Should this be a ManagedObjectFunctionDependency, then will return -1.

      Returns:
      Index identifying the dependency.
    • getDependencyType

      Class<?> getDependencyType()
      Obtains the Class that the dependent object must extend/implement.
      Returns:
      Type of the dependency.
    • getTypeQualifier

      String getTypeQualifier()

      Obtains the qualifier on the type.

      This is to enable qualifying the type of dependency required.

      Returns:
      Qualifier on the type. May be null if not qualifying the type.
    • getKey

      D getKey()
      Obtains the key identifying the dependency.
      Returns:
      Key identifying the dependency.