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>
AdministrationGovernanceConfiguration
implementation.- 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.String
getGovernanceName()
Obtains the name of theGovernance
to link to theAdministration
.int
getIndex()
Obtains the index identifying the linkedGovernance
.G
getKey()
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:AdministrationGovernanceConfiguration
Obtains the key identifying the linkedGovernance
.- Specified by:
getKey
in interfaceAdministrationGovernanceConfiguration<G extends java.lang.Enum<G>>
- Returns:
- Key identifying the linked
Governance
.null
if indexed.
-
getIndex
public int getIndex()
Description copied from interface:AdministrationGovernanceConfiguration
Obtains the index identifying the linkedGovernance
.- Specified by:
getIndex
in interfaceAdministrationGovernanceConfiguration<G extends java.lang.Enum<G>>
- Returns:
- Index identifying the linked
Governance
.
-
getGovernanceName
public java.lang.String getGovernanceName()
Description copied from interface:AdministrationGovernanceConfiguration
Obtains the name of theGovernance
to link to theAdministration
.- Specified by:
getGovernanceName
in interfaceAdministrationGovernanceConfiguration<G extends java.lang.Enum<G>>
- Returns:
- Name of the
Governance
to link to theAdministration
.
-
-