adams.flow.transformer
Enum TwitterConverter.TwitterField

java.lang.Object
  extended by java.lang.Enum<TwitterConverter.TwitterField>
      extended by adams.flow.transformer.TwitterConverter.TwitterField
All Implemented Interfaces:
Serializable, Comparable<TwitterConverter.TwitterField>
Enclosing class:
TwitterConverter

public static enum TwitterConverter.TwitterField
extends Enum<TwitterConverter.TwitterField>

The available fields for generating the output.

Version:
$Revision: 7105 $
Author:
fracpete (fracpete at waikato dot ac dot nz)

Enum Constant Summary
COUNTRY
          the country (only status).
COUNTRY_CODE
          the country code (only status).
CREATED
          the creation date.
GEO_LATITUDE
          the associated latitude.
GEO_LONGITUDE
          the associated longitude.
ID
          the ID of the tweet/status.
LANGUAGE_CODE
          the language code (only tweet).
PLACE
          the place (only status).
SOURCE
          the source.
TEXT
          the text of the tweet/status.
USER_ID
          the user ID.
USER_NAME
          the user name.
 
Method Summary
static TwitterConverter.TwitterField valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TwitterConverter.TwitterField[] 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

ID

public static final TwitterConverter.TwitterField ID
the ID of the tweet/status.


USER_ID

public static final TwitterConverter.TwitterField USER_ID
the user ID.


USER_NAME

public static final TwitterConverter.TwitterField USER_NAME
the user name.


SOURCE

public static final TwitterConverter.TwitterField SOURCE
the source.


TEXT

public static final TwitterConverter.TwitterField TEXT
the text of the tweet/status.


CREATED

public static final TwitterConverter.TwitterField CREATED
the creation date.


GEO_LATITUDE

public static final TwitterConverter.TwitterField GEO_LATITUDE
the associated latitude.


GEO_LONGITUDE

public static final TwitterConverter.TwitterField GEO_LONGITUDE
the associated longitude.


LANGUAGE_CODE

public static final TwitterConverter.TwitterField LANGUAGE_CODE
the language code (only tweet).


PLACE

public static final TwitterConverter.TwitterField PLACE
the place (only status).


COUNTRY

public static final TwitterConverter.TwitterField COUNTRY
the country (only status).


COUNTRY_CODE

public static final TwitterConverter.TwitterField COUNTRY_CODE
the country code (only status).

Method Detail

values

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

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

valueOf

public static TwitterConverter.TwitterField 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


Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.