com.askgeo.flt.timezone
Enum TimeZoneMap.DataField

java.lang.Object
  extended by java.lang.Enum<TimeZoneMap.DataField>
      extended by com.askgeo.flt.timezone.TimeZoneMap.DataField
All Implemented Interfaces:
DataFieldInterface, java.io.Serializable, java.lang.Comparable<TimeZoneMap.DataField>
Enclosing class:
TimeZoneMap

public static enum TimeZoneMap.DataField
extends java.lang.Enum<TimeZoneMap.DataField>
implements DataFieldInterface

Enumerates the metadata associated with each shape in the map.


Enum Constant Summary
TimeZoneId
           
 
Method Summary
 java.lang.String description()
          Returns a human-readable description of the data field.
 FieldUnit fieldUnit()
          Specifies the FieldUnit of the field.
static TimeZoneMap.DataField valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimeZoneMap.DataField[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.askgeo.flt.base.DataFieldInterface
name, ordinal
 

Enum Constant Detail

TimeZoneId

public static final TimeZoneMap.DataField TimeZoneId
Method Detail

values

public static TimeZoneMap.DataField[] 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 (TimeZoneMap.DataField c : TimeZoneMap.DataField.values())
    System.out.println(c);

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

valueOf

public static TimeZoneMap.DataField valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

description

public java.lang.String description()
Description copied from interface: DataFieldInterface
Returns a human-readable description of the data field.

Specified by:
description in interface DataFieldInterface
Returns:
the description of the data field.

fieldUnit

public FieldUnit fieldUnit()
Description copied from interface: DataFieldInterface
Specifies the FieldUnit of the field. The FieldUnit is the logical unit of the reported value, such as "people", "dollars", and "percent".

Specified by:
fieldUnit in interface DataFieldInterface
Returns:
the FieldUnit of the data field.


Copyright © 2012 Vector Magic, Inc.