Interface ManagedObjectDependency
- All Known Subinterfaces:
ManagedObjectDependencyNode,ManagedObjectFunctionDependencyNode,OfficeFloorManagedObjectDependency,OfficeFloorManagedObjectFunctionDependency,OfficeManagedObjectDependency,OfficeManagedObjectFunctionDependency,SectionManagedObjectDependency
- All Known Implementing Classes:
ManagedObjectDependencyNodeImpl,ManagedObjectFunctionDependencyNodeImpl
public interface ManagedObjectDependency
Dependency of a
ManagedObject.- Author:
- Daniel Sagenschneider
-
Method Summary
Modifier and TypeMethodDescriptionObtains the name of thisManagedObjectDependency.voidsetOverrideQualifier(String qualifier) Overrides the qualifier specified by theManagedObjectSource.voidsetSpecificType(String type) Specifies a more specific type than the type specified by theManagedObjectSource.
-
Method Details
-
getManagedObjectDependencyName
String getManagedObjectDependencyName()Obtains the name of thisManagedObjectDependency.- Returns:
- Name of this
ManagedObjectDependency.
-
setOverrideQualifier
Overrides the qualifier specified by theManagedObjectSource.- Parameters:
qualifier- Qualifier to use for theManagedObjectDependency.
-
setSpecificType
Specifies a more specific type than the type specified by the
ManagedObjectSource.Note: the type needs to be child of the actual type, otherwise it would cause
ClassCastExceptionon attempting to the use the resulting dependency. Hence the type can not be overridden but rather is able to be made more specific (particularly for auto wiring the dependency).- Parameters:
type- Type to use for theManagedObjectDependency.
-