net.officefloor.frame.internal.construct
Interface RawWorkMetaData<W extends Work>

All Known Implementing Classes:
RawWorkMetaDataImpl

public interface RawWorkMetaData<W extends Work>

Raw meta-data of Work.

Author:
Daniel Sagenschneider

Method Summary
 RawOfficeMetaData getRawOfficeMetaData()
          Obtains the RawOfficeMetaData of the Office containing this Work.
 RawBoundAdministratorMetaData<?,?> getScopeAdministratorMetaData(String scopeAdministratorName)
          Obtains the AdministratorIndex for the Work Administrator name.
 RawBoundManagedObjectMetaData getScopeManagedObjectMetaData(String scopeManagedObjectName)
          Constructs the RawWorkManagedObjectMetaData for the ManagedObject of the Work.
 WorkMetaData<W> getWorkMetaData()
          Obtains the WorkMetaData for this RawWorkMetaData.
 String getWorkName()
          Obtains the name of the Work.
 void linkOfficeMetaData(OfficeMetaDataLocator taskLocator, AssetManagerFactory assetManagerFactory, OfficeFloorIssues issues)
          Links the TaskMetaData instances to enable JobSequence of execution.
 

Method Detail

getWorkName

String getWorkName()
Obtains the name of the Work.

Returns:
Name of the Work.

getRawOfficeMetaData

RawOfficeMetaData getRawOfficeMetaData()
Obtains the RawOfficeMetaData of the Office containing this Work.

Returns:
RawOfficeMetaData.

getScopeManagedObjectMetaData

RawBoundManagedObjectMetaData getScopeManagedObjectMetaData(String scopeManagedObjectName)
Constructs the RawWorkManagedObjectMetaData for the ManagedObject of the Work.

Parameters:
scopeManagedObjectName - Name of the ManagedObject within the ManagedObjectScope.
Returns:
RawBoundManagedObjectMetaData or null not found.

getScopeAdministratorMetaData

RawBoundAdministratorMetaData<?,?> getScopeAdministratorMetaData(String scopeAdministratorName)
Obtains the AdministratorIndex for the Work Administrator name.

Parameters:
scopeAdministratorName - Name of the Administrator within the ManagedObjectScope.
Returns:
RawBoundAdministratorMetaData or null if not found.

linkOfficeMetaData

void linkOfficeMetaData(OfficeMetaDataLocator taskLocator,
                        AssetManagerFactory assetManagerFactory,
                        OfficeFloorIssues issues)
Links the TaskMetaData instances to enable JobSequence of execution. Also links the Governance for any possible associated Duty.

Parameters:
taskLocator - OfficeMetaDataLocator.
assetManagerFactory - AssetManagerFactory.
issues - OfficeFloorIssues.

getWorkMetaData

WorkMetaData<W> getWorkMetaData()
Obtains the WorkMetaData for this RawWorkMetaData.

Returns:
WorkMetaData.


Copyright © 2005-2013. All Rights Reserved.