com.google.code.linkedinapi.client.enumeration
Enum PositionsField

java.lang.Object
  extended by java.lang.Enum<PositionsField>
      extended by com.google.code.linkedinapi.client.enumeration.PositionsField
All Implemented Interfaces:
FieldEnum, java.io.Serializable, java.lang.Comparable<PositionsField>

public enum PositionsField
extends java.lang.Enum<PositionsField>
implements FieldEnum

Author:
Nabeel Mukhtar

Enum Constant Summary
COMPANY_BANE
          The name of the company the member works for
END_DATE
          a structured object with month and year fields indicating when the position ended.
ID
          a unique identifier for this member's position.
IS_CURRENT
          a "true" or "false" value, depending on whether it is marked current
START_DATE
          a structured object with month and year fields indicating when the position began
SUMMARY
          a summary of the member's position
TITLE
          the job title held at the position, as indicated by the member
 
Field Summary
private  java.lang.String fieldName
          Field description
private static java.util.Map<java.lang.String,PositionsField> stringToEnum
          Field Description.
 
Method Summary
 java.lang.String fieldName()
           
static PositionsField fromString(java.lang.String symbol)
           
 java.lang.String toString()
          Method description
static PositionsField valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static PositionsField[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ID

public static final PositionsField ID
a unique identifier for this member's position.


TITLE

public static final PositionsField TITLE
the job title held at the position, as indicated by the member


SUMMARY

public static final PositionsField SUMMARY
a summary of the member's position


START_DATE

public static final PositionsField START_DATE
a structured object with month and year fields indicating when the position began


END_DATE

public static final PositionsField END_DATE
a structured object with month and year fields indicating when the position ended.


IS_CURRENT

public static final PositionsField IS_CURRENT
a "true" or "false" value, depending on whether it is marked current


COMPANY_BANE

public static final PositionsField COMPANY_BANE
The name of the company the member works for

Field Detail

stringToEnum

private static final java.util.Map<java.lang.String,PositionsField> stringToEnum
Field Description.


fieldName

private final java.lang.String fieldName
Field description

Method Detail

values

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

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

valueOf

public static PositionsField 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

fieldName

public java.lang.String fieldName()
Specified by:
fieldName in interface FieldEnum
Returns:
the name of the field

toString

public java.lang.String toString()
Method description

Overrides:
toString in class java.lang.Enum<PositionsField>
Returns:

fromString

public static PositionsField fromString(java.lang.String symbol)
Returns:
Returns PositionsField for string, or null if string is invalid