net.opengis.ols.v_1_2
Enum NamedPlaceClassification

java.lang.Object
  extended by java.lang.Enum<NamedPlaceClassification>
      extended by net.opengis.ols.v_1_2.NamedPlaceClassification
All Implemented Interfaces:
Serializable, Comparable<NamedPlaceClassification>

public enum NamedPlaceClassification
extends Enum<NamedPlaceClassification>

Java class for NamedPlaceClassification.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="NamedPlaceClassification">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="CountrySubdivision"/>
     <enumeration value="CountrySecondarySubdivision"/>
     <enumeration value="Municipality"/>
     <enumeration value="MunicipalitySubdivision"/>
     <enumeration value="choume-banchi-go"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CHOUME_BANCHI_GO
           
COUNTRY_SECONDARY_SUBDIVISION
           
COUNTRY_SUBDIVISION
           
MUNICIPALITY
           
MUNICIPALITY_SUBDIVISION
           
 
Method Summary
static NamedPlaceClassification fromValue(String v)
           
 String value()
           
static NamedPlaceClassification valueOf(String name)
          Returns the enum constant of this type with the specified name.
static NamedPlaceClassification[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

COUNTRY_SUBDIVISION

public static final NamedPlaceClassification COUNTRY_SUBDIVISION

COUNTRY_SECONDARY_SUBDIVISION

public static final NamedPlaceClassification COUNTRY_SECONDARY_SUBDIVISION

MUNICIPALITY

public static final NamedPlaceClassification MUNICIPALITY

MUNICIPALITY_SUBDIVISION

public static final NamedPlaceClassification MUNICIPALITY_SUBDIVISION

CHOUME_BANCHI_GO

public static final NamedPlaceClassification CHOUME_BANCHI_GO
Method Detail

values

public static NamedPlaceClassification[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (NamedPlaceClassification c : NamedPlaceClassification.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static NamedPlaceClassification valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
NullPointerException - if the argument is null

value

public String value()

fromValue

public static NamedPlaceClassification fromValue(String v)


Copyright © 2008-2016. All Rights Reserved.