MPXJ: Microsoft Project Exchange

net.sf.mpxj
Class MPPTaskField14

java.lang.Object
  extended by net.sf.mpxj.MPPTaskField14

public class MPPTaskField14
extends java.lang.Object

Utility class used to map between the integer values held in MS Project to represent a task field, and the enumerated type used to represent task fields in MPXJ.


Constructor Summary
MPPTaskField14()
           
 
Method Summary
static int getID(TaskField value)
          Retrieve the ID of a field, as used by MS Project.
static TaskField getInstance(int value)
          Retrieve an instance of the TaskField class based on the data read from an MS Project file.
static TaskField getInstanceUnmapped(int value)
          Retrieve an instance of the TaskField class based on the data read from an MS Project file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPPTaskField14

public MPPTaskField14()
Method Detail

getInstance

public static TaskField getInstance(int value)
Retrieve an instance of the TaskField class based on the data read from an MS Project file.

Parameters:
value - value from an MS Project file
Returns:
TaskField instance

getInstanceUnmapped

public static TaskField getInstanceUnmapped(int value)
Retrieve an instance of the TaskField class based on the data read from an MS Project file. This method does not attempt to apply any mapping to the result.

Parameters:
value - value from an MS Project file
Returns:
TaskField instance

getID

public static int getID(TaskField value)
Retrieve the ID of a field, as used by MS Project.

Parameters:
value - field instance
Returns:
field ID


Copyright © 2000-2014 Packwood Software. All Rights Reserved.