Package ca.cdr.api.model.enm
Enum Class DemographicEnum
- All Implemented Interfaces:
Serializable
,Comparable<DemographicEnum>
,Constable
Simple enum for the available demographics relevant to mapping from Source to Smile CDR and Target,
and from Smile CDR to Source and Target.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdministrative SexCounty / Parish CodeEthnic GroupMarital StatusMilitary Rank / GradeMilitary ServiceMilitary StatusNationalityPrimary LanguageRaceRelationshipReligionVeterans Military Status -
Method Summary
Modifier and TypeMethodDescriptionstatic DemographicEnum
getCode()
static DemographicEnum
Returns the enum constant of this class with the specified name.static DemographicEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADMINISTRATIVE_SEX
Administrative Sex -
COUNTY_PARISH_CODE
County / Parish Code -
ETHNIC_GROUP
Ethnic Group -
MARITAL_STATUS
Marital Status -
MILITARY_RANK_GRADE
Military Rank / Grade -
MILITARY_SERVICE
Military Service -
MILITARY_STATUS
Military Status -
NATIONALITY
Nationality -
PRIMARY_LANGUAGE
Primary Language -
RACE
Race -
RELATIONSHIP
Relationship -
RELIGION
Religion -
VETERANS_MILITARY_STATUS
Veterans Military Status
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
-
fromCode
-