IsoGender.javaprojectforge-business/src/main/java/org/projectforge/business/fibu/IsoGender.java containing Java code for the Financial Accounting layer.Package: org.projectforge.business.fibu
Enums: IsoGender
Implements: I18nEnum
Methods (2): getIsoCode, getI18nKey
Fields (2): isoCode, i18nKey
Imports: 1 packages
package org.projectforge.business.fibu;
import org.projectforge.common.i18n.I18nEnum;
public enum IsoGender implements I18nEnum
{
NOT_KNOWN(0, "notKnown"),
MALE(1, "male"),
FEMALE(2, "female"),
NOT_APPLICABLE(9, "notApplicable");
private final int isoCode;
private final String i18nKey;
IsoGender(int isoCode, String i18nKey)
{
this.isoCode = isoCode;
this.i18nKey = i18nKey;
}
/**
* @return The integer representation of the gender according to the ISO/IEC 5218.
*/
public int getIsoCode()
{
return isoCode;
}
/**
* @return The full i18n key including the i18n prefix "gender.".
*/
public String getI18nKey()
{
return "gender." + i18nKey;
}
}
868d6abb7 2025 -> 2026 63081666f Source file headers: 2024-> 2025. b6092df09 Copyright 2023 -> 2024 ab45d51fa Copyright 2001-2022 -> 2001-2023. 5f7ef41b8 Copyright 2021 -> 2022