net.officefloor.frame.spi.managedobject.source
Interface ManagedObjectDependencyMetaData<D extends Enum<D>>

All Known Implementing Classes:
ManagedObjectDependencyMetaDataImpl

public interface ManagedObjectDependencyMetaData<D extends Enum<D>>

Describes an object which the ManagedObject for the ManagedObjectSource is dependent upon.

Author:
Daniel Sagenschneider

Method Summary
 D getKey()
          Obtains the Enum key identifying this dependency.
 String getLabel()
          Provides a descriptive name for this dependency.
 Class<?> getType()
          Obtains the Class that the dependent object must extend/implement.
 String getTypeQualifier()
           Obtains the qualifier on the type.
 

Method Detail

getKey

D getKey()
Obtains the Enum key identifying this dependency. If null then dependency will be referenced by this instance's index in the array returned from ManagedObjectSourceMetaData.

Returns:
Enum key identifying the dependency or null indicating identified by an index.

getType

Class<?> getType()
Obtains the Class that 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 null if not qualifying the type.

getLabel

String getLabel()
Provides a descriptive name for this dependency. This is useful to better describe the dependency.

Returns:
Descriptive name for this dependency.


Copyright © 2005-2013. All Rights Reserved.