Class AdministrationGovernanceConfigurationImpl<G extends java.lang.Enum<G>>
- java.lang.Object
-
- net.officefloor.frame.impl.construct.administration.AdministrationGovernanceConfigurationImpl<G>
-
- All Implemented Interfaces:
AdministrationGovernanceConfiguration<G>
public class AdministrationGovernanceConfigurationImpl<G extends java.lang.Enum<G>> extends java.lang.Object implements AdministrationGovernanceConfiguration<G>
AdministrationGovernanceConfigurationimplementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdministrationGovernanceConfigurationImpl(G key, int index, java.lang.String governanceName)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGovernanceName()Obtains the name of theGovernanceto link to theAdministration.intgetIndex()Obtains the index identifying the linkedGovernance.GgetKey()Obtains the key identifying the linkedGovernance.
-
-
-
Constructor Detail
-
AdministrationGovernanceConfigurationImpl
public AdministrationGovernanceConfigurationImpl(G key, int index, java.lang.String governanceName)
Instantiate.- Parameters:
key- Key of theGovernance.index- Index of theGovernance.governanceName- Name of theGovernance.
-
-
Method Detail
-
getKey
public G getKey()
Description copied from interface:AdministrationGovernanceConfigurationObtains the key identifying the linkedGovernance.- Specified by:
getKeyin interfaceAdministrationGovernanceConfiguration<G extends java.lang.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 java.lang.Enum<G>>- Returns:
- Index identifying the linked
Governance.
-
getGovernanceName
public java.lang.String getGovernanceName()
Description copied from interface:AdministrationGovernanceConfigurationObtains the name of theGovernanceto link to theAdministration.- Specified by:
getGovernanceNamein interfaceAdministrationGovernanceConfiguration<G extends java.lang.Enum<G>>- Returns:
- Name of the
Governanceto link to theAdministration.
-
-