Interface ManagedObjectDependencyType<D extends java.lang.Enum<D>>
-
- All Superinterfaces:
AnnotatedType
- All Known Implementing Classes:
ManagedObjectDependencyTypeImpl
public interface ManagedObjectDependencyType<D extends java.lang.Enum<D>> extends AnnotatedType
Type definition
of a dependency required by theManagedObject
.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDependencyName()
Obtains the name of the dependency.java.lang.Class<?>
getDependencyType()
Obtains theClass
that the dependent object must extend/implement.int
getIndex()
Obtains the index identifying the dependency.D
getKey()
Obtains the key identifying the dependency.java.lang.String
getTypeQualifier()
Obtains the qualifier on the type.-
Methods inherited from interface net.officefloor.compile.type.AnnotatedType
getAnnotation, getAnnotations, getAnnotations
-
-
-
-
Method Detail
-
getDependencyName
java.lang.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
java.lang.Class<?> getDependencyType()
Obtains theClass
that the dependent object must extend/implement.- Returns:
- Type of the dependency.
-
getTypeQualifier
java.lang.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.
-
-