public enum ServicedOrganisationTypeEnumeration extends Enum<ServicedOrganisationTypeEnumeration>
Java class for ServicedOrganisationTypeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ServicedOrganisationTypeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
<enumeration value="school"/>
<enumeration value="college"/>
<enumeration value="university"/>
<enumeration value="militaryBase"/>
<enumeration value="works"/>
<enumeration value="retaiilCentre"/>
<enumeration value="hospital"/>
<enumeration value="governmentOffice"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
COLLEGE |
GOVERNMENT_OFFICE |
HOSPITAL |
MILITARY_BASE |
OTHER |
RETAIIL_CENTRE |
SCHOOL |
UNIVERSITY |
WORKS |
| Modifier and Type | Method and Description |
|---|---|
static ServicedOrganisationTypeEnumeration |
fromValue(String v) |
String |
value() |
static ServicedOrganisationTypeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServicedOrganisationTypeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServicedOrganisationTypeEnumeration SCHOOL
public static final ServicedOrganisationTypeEnumeration COLLEGE
public static final ServicedOrganisationTypeEnumeration UNIVERSITY
public static final ServicedOrganisationTypeEnumeration MILITARY_BASE
public static final ServicedOrganisationTypeEnumeration WORKS
public static final ServicedOrganisationTypeEnumeration RETAIIL_CENTRE
public static final ServicedOrganisationTypeEnumeration HOSPITAL
public static final ServicedOrganisationTypeEnumeration GOVERNMENT_OFFICE
public static final ServicedOrganisationTypeEnumeration OTHER
public static ServicedOrganisationTypeEnumeration[] values()
for (ServicedOrganisationTypeEnumeration c : ServicedOrganisationTypeEnumeration.values()) System.out.println(c);
public static ServicedOrganisationTypeEnumeration valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static ServicedOrganisationTypeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.