public enum Religion extends java.lang.Enum<Religion>
Enum Constant and Description |
---|
ancestor |
animist |
bahai |
benzhu |
buddhist |
caodaism |
chinese_folk |
christian |
confucian |
hindu |
jain |
jewish |
multifaith |
muslim |
other |
pagan |
pastafarian |
scientologist |
shamanic |
shinto |
sikh |
spiritualist |
taoist |
unitarian_universalist |
voodoo |
yazidi |
zoroastrian |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getSubType()
Get the more specific AmenityType for this particular religion.
|
static Religion |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Religion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Religion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Religion other
public static final Religion ancestor
public static final Religion animist
public static final Religion bahai
public static final Religion benzhu
public static final Religion buddhist
public static final Religion caodaism
public static final Religion christian
public static final Religion chinese_folk
public static final Religion confucian
public static final Religion hindu
public static final Religion jain
public static final Religion jewish
public static final Religion multifaith
public static final Religion muslim
public static final Religion pagan
public static final Religion pastafarian
public static final Religion scientologist
public static final Religion shamanic
public static final Religion shinto
public static final Religion sikh
public static final Religion spiritualist
public static final Religion taoist
public static final Religion unitarian_universalist
public static final Religion voodoo
public static final Religion yazidi
public static final Religion zoroastrian
public static Religion[] values()
for (Religion c : Religion.values()) System.out.println(c);
public static Religion valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final AmenityType getSubType()
AmenityType.place_of_worship
.public static Religion value(java.lang.String name)
name
- String to convert into an Enum