Package gov.cms.hh.data.meta.enumer
Enum Class ReferralSource_EN
- All Implemented Interfaces:
DescribableIF,IdentifiableIF,Serializable,Comparable<ReferralSource_EN>,Constable
public enum ReferralSource_EN
extends Enum<ReferralSource_EN>
implements DescribableIF, IdentifiableIF
- Author:
- CMS
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionThe description of the objectintgetId()the id of the objectvoidsetDescription(String description) Sets the objects internal descriptionvoidsetId(int id) Sets the id for the object at run timetoString()static ReferralSource_ENReturns the enum constant of this class with the specified name.static ReferralSource_EN[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACUTE_HOSPITAL
-
SNF_OR_OTHER
-
-
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
-
getDescription
Description copied from interface:DescribableIFThe description of the object- Specified by:
getDescriptionin interfaceDescribableIF- Returns:
-
setDescription
Description copied from interface:DescribableIFSets the objects internal description- Specified by:
setDescriptionin interfaceDescribableIF
-
toString
- Overrides:
toStringin classEnum<ReferralSource_EN>- Returns:
-
getId
public int getId()Description copied from interface:IdentifiableIFthe id of the object- Specified by:
getIdin interfaceIdentifiableIF- Returns:
- the id
-
setId
public void setId(int id) Description copied from interface:IdentifiableIFSets the id for the object at run time- Specified by:
setIdin interfaceIdentifiableIF- Parameters:
id- the id to set
-