Interface ManagedObjectDependencyType<D extends Enum<D>>
- All Superinterfaces:
AnnotatedType
- All Known Implementing Classes:
ManagedObjectDependencyTypeImpl
Type definition of a dependency required by the
ManagedObject.- Author:
- Daniel Sagenschneider
-
Method Summary
Methods inherited from interface net.officefloor.compile.type.AnnotatedType
getAnnotation, getAnnotations, getAnnotations
-
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 theClassthat 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
nullif not qualifying the type.
-
getKey
D getKey()Obtains the key identifying the dependency.- Returns:
- Key identifying the dependency.
-