Interface ManagedObjectDependencyMetaData<O extends Enum<O>>
- All Known Implementing Classes:
ManagedObjectDependencyMetaDataImpl
public interface ManagedObjectDependencyMetaData<O extends Enum<O>>
Describes an object which the
ManagedObject for the
ManagedObjectSource is dependent upon.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObject[]Obtains the annotations for the dependency.getKey()Obtains theEnumkey identifying this dependency.getLabel()Provides a descriptive name for this dependency.Class<?>getType()Obtains theClassthat the dependent object must extend/implement.Obtains the qualifier on the type.
-
Method Details
-
getKey
O getKey()Obtains theEnumkey identifying this dependency. Ifnullthen dependency will be referenced by this instance's index in the array returned fromManagedObjectSourceMetaData.- Returns:
Enumkey identifying the dependency ornullindicating identified by an index.
-
getType
Class<?> getType()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.
-
getAnnotations
Object[] getAnnotations()Obtains the annotations for the dependency.
This enables further description of required dependency.
- Returns:
- Annotations for the dependency.
-
getLabel
String getLabel()Provides a descriptive name for this dependency. This is useful to better describe the dependency.- Returns:
- Descriptive name for this dependency.
-