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 Details

    • getManagedObjectDependencyName

      String getManagedObjectDependencyName()
      Obtains the name of this ManagedObjectDependency.
      Returns:
      Name of this ManagedObjectDependency.
    • setOverrideQualifier

      void setOverrideQualifier(String qualifier)
      Overrides the qualifier specified by the ManagedObjectSource.
      Parameters:
      qualifier - Qualifier to use for the ManagedObjectDependency.
    • setSpecificType

      void setSpecificType(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 ClassCastException on 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 the ManagedObjectDependency.