Class AdministrationGovernanceTypeImpl<G extends java.lang.Enum<G>>
- java.lang.Object
-
- net.officefloor.compile.impl.administrator.AdministrationGovernanceTypeImpl<G>
-
- All Implemented Interfaces:
AdministrationGovernanceType<G>
public class AdministrationGovernanceTypeImpl<G extends java.lang.Enum<G>> extends java.lang.Object implements AdministrationGovernanceType<G>
AdministrationGovernanceType
implementation.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AdministrationGovernanceTypeImpl(java.lang.String governanceName, int index, G key)
Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGovernanceName()
Obtains the name of theGovernance
.int
getIndex()
Obtains the index identifying theGovernance
.G
getKey()
Obtains the key identifying theGovernance
.
-
-
-
Constructor Detail
-
AdministrationGovernanceTypeImpl
public AdministrationGovernanceTypeImpl(java.lang.String governanceName, int index, G key)
Instantiate.- Parameters:
governanceName
- Name ofGovernance
.index
- Index identifying theAdministrationGovernanceType
.key
- Key identifying theAdministrationGovernanceType
.
-
-
Method Detail
-
getGovernanceName
public java.lang.String getGovernanceName()
Description copied from interface:AdministrationGovernanceType
Obtains the name of theGovernance
.- Specified by:
getGovernanceName
in interfaceAdministrationGovernanceType<G extends java.lang.Enum<G>>
- Returns:
- Name of the
Governance
.
-
getIndex
public int getIndex()
Description copied from interface:AdministrationGovernanceType
Obtains the index identifying theGovernance
.- Specified by:
getIndex
in interfaceAdministrationGovernanceType<G extends java.lang.Enum<G>>
- Returns:
- Index identifying the
Governance
.
-
getKey
public G getKey()
Description copied from interface:AdministrationGovernanceType
Obtains the key identifying theGovernance
.- Specified by:
getKey
in interfaceAdministrationGovernanceType<G extends java.lang.Enum<G>>
- Returns:
- Key identifying the
Governance
.
-
-