net.officefloor.frame.spi.administration
Interface DutyKey<A>

All Known Implementing Classes:
DutyKeyImpl

public interface DutyKey<A>

Key identifying a Duty for the Administrator.

Author:
Daniel Sagenschneider

Method Summary
 int getIndex()
          Obtains the index identifying the Duty.
 A getKey()
           Obtains the Enum identifying the Duty.
 

Method Detail

getKey

A getKey()

Obtains the Enum identifying the Duty.

This will be null if Indexed identification.

Returns:
Enum identifying the Duty or null if Indexed.

getIndex

int getIndex()
Obtains the index identifying the Duty.

Returns:
Index identifying the Duty.


Copyright © 2005-2013. All Rights Reserved.