Interface ManagedObjectDependency
-
- All Known Subinterfaces:
ManagedObjectDependencyNode,ManagedObjectFunctionDependencyNode,OfficeFloorManagedObjectDependency,OfficeFloorManagedObjectFunctionDependency,OfficeManagedObjectDependency,OfficeManagedObjectFunctionDependency,SectionManagedObjectDependency
- All Known Implementing Classes:
ManagedObjectDependencyNodeImpl,ManagedObjectFunctionDependencyNodeImpl
public interface ManagedObjectDependencyDependency of aManagedObject.- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetManagedObjectDependencyName()Obtains the name of thisManagedObjectDependency.voidsetOverrideQualifier(java.lang.String qualifier)Overrides the qualifier specified by theManagedObjectSource.voidsetSpecificType(java.lang.String type)Specifies a more specific type than the type specified by theManagedObjectSource.
-
-
-
Method Detail
-
getManagedObjectDependencyName
java.lang.String getManagedObjectDependencyName()
Obtains the name of thisManagedObjectDependency.- Returns:
- Name of this
ManagedObjectDependency.
-
setOverrideQualifier
void setOverrideQualifier(java.lang.String qualifier)
Overrides the qualifier specified by theManagedObjectSource.- Parameters:
qualifier- Qualifier to use for theManagedObjectDependency.
-
setSpecificType
void setSpecificType(java.lang.String type)
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.
-
-