Class AdministrationGovernanceConfigurationImpl<G extends Enum<G>>
java.lang.Object
net.officefloor.frame.impl.construct.administration.AdministrationGovernanceConfigurationImpl<G>
- All Implemented Interfaces:
AdministrationGovernanceConfiguration<G>
public class AdministrationGovernanceConfigurationImpl<G extends Enum<G>>
extends Object
implements AdministrationGovernanceConfiguration<G>
AdministrationGovernanceConfiguration implementation.- Author:
- Daniel Sagenschneider
-
Constructor Summary
ConstructorsConstructorDescriptionAdministrationGovernanceConfigurationImpl(G key, int index, String governanceName) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionObtains the name of theGovernanceto link to theAdministration.intgetIndex()Obtains the index identifying the linkedGovernance.getKey()Obtains the key identifying the linkedGovernance.
-
Constructor Details
-
AdministrationGovernanceConfigurationImpl
Instantiate.- Parameters:
key- Key of theGovernance.index- Index of theGovernance.governanceName- Name of theGovernance.
-
-
Method Details
-
getKey
Description copied from interface:AdministrationGovernanceConfigurationObtains the key identifying the linkedGovernance.- Specified by:
getKeyin interfaceAdministrationGovernanceConfiguration<G extends Enum<G>>- Returns:
- Key identifying the linked
Governance.nullif indexed.
-
getIndex
public int getIndex()Description copied from interface:AdministrationGovernanceConfigurationObtains the index identifying the linkedGovernance.- Specified by:
getIndexin interfaceAdministrationGovernanceConfiguration<G extends Enum<G>>- Returns:
- Index identifying the linked
Governance.
-
getGovernanceName
Description copied from interface:AdministrationGovernanceConfigurationObtains the name of theGovernanceto link to theAdministration.- Specified by:
getGovernanceNamein interfaceAdministrationGovernanceConfiguration<G extends Enum<G>>- Returns:
- Name of the
Governanceto link to theAdministration.
-