net.sf.mpxj
Class MPPTaskField

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

public class MPPTaskField
extends 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.


Field Summary
static int TASK_FIELD_BASE
           
 
Constructor Summary
MPPTaskField()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TASK_FIELD_BASE

public static final int TASK_FIELD_BASE
See Also:
Constant Field Values
Constructor Detail

MPPTaskField

public MPPTaskField()
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

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 © 2012. All Rights Reserved.