net.officefloor.frame.internal.structure
Interface ActiveGovernance<I,F extends Enum<F>>

All Known Implementing Classes:
ActiveGovernanceImpl

public interface ActiveGovernance<I,F extends Enum<F>>

Identifies active Governance of a ManagedObject.

Author:
Daniel Sagenschneider

Method Summary
 GovernanceActivity<I,F> createGovernActivity()
          Creates the GovernanceActivity to provide Governance on the ManagedObject.
 int getManagedObjectRegisteredIndex()
           Obtains the index by which the ManagedObject has registered this ActiveGovernance.
 boolean isActive()
          Indicates if the Governance is still active.
 

Method Detail

getManagedObjectRegisteredIndex

int getManagedObjectRegisteredIndex()

Obtains the index by which the ManagedObject has registered this ActiveGovernance.

This allows the ManagedObject to quickly find the ActiveGovernance for unregistering it.

Returns:
Index by which the ManagedObject has registered this ActiveGovernance.

isActive

boolean isActive()
Indicates if the Governance is still active.

Returns:
true if the Governance is still active.

createGovernActivity

GovernanceActivity<I,F> createGovernActivity()
Creates the GovernanceActivity to provide Governance on the ManagedObject.

Returns:
GovernanceActivity to provide Governance on the ManagedObject.


Copyright © 2005-2013. All Rights Reserved.