Interface ManagedObjectDependencyMetaData<O extends java.lang.Enum<O>>
-
- All Known Implementing Classes:
ManagedObjectDependencyMetaDataImpl
public interface ManagedObjectDependencyMetaData<O extends java.lang.Enum<O>>
Describes an object which theManagedObject
for theManagedObjectSource
is dependent upon.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object[]
getAnnotations()
Obtains the annotations for the dependency.O
getKey()
Obtains theEnum
key identifying this dependency.java.lang.String
getLabel()
Provides a descriptive name for this dependency.java.lang.Class<?>
getType()
Obtains theClass
that the dependent object must extend/implement.java.lang.String
getTypeQualifier()
Obtains the qualifier on the type.
-
-
-
Method Detail
-
getKey
O getKey()
Obtains theEnum
key identifying this dependency. Ifnull
then dependency will be referenced by this instance's index in the array returned fromManagedObjectSourceMetaData
.- Returns:
Enum
key identifying the dependency ornull
indicating identified by an index.
-
getType
java.lang.Class<?> getType()
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.
-
getAnnotations
java.lang.Object[] getAnnotations()
Obtains the annotations for the dependency.
This enables further description of required dependency.
- Returns:
- Annotations for the dependency.
-
getLabel
java.lang.String getLabel()
Provides a descriptive name for this dependency. This is useful to better describe the dependency.- Returns:
- Descriptive name for this dependency.
-
-