MPXJ: Microsoft Project Exchange

net.sf.mpxj.utility
Class FieldTypeUtility

java.lang.Object
  extended by net.sf.mpxj.utility.FieldTypeUtility

public final class FieldTypeUtility
extends java.lang.Object

Utility class containing methods relating to the FieldType class.


Constructor Summary
FieldTypeUtility()
           
 
Method Summary
static FieldType getInstance(int fieldID)
          Retrieve a FieldType instance based on an ID value from an MPP9 or MPP12 file.
static FieldType getInstance14(int fieldID)
          Retrieve a FieldType instance based on an ID value from an MPP14 field, mapping the START_TEXT, FINISH_TEXT, and DURATION_TEXT values to START, FINISH, and DURATION respectively.
static FieldType getInstance14Unmapped(int fieldID)
          Retrieve a FieldType instance based on an ID value from an MPP14 field, without any additional mapping.
static FieldType getInstanceUnmapped(int fieldID)
          Retrieve a FieldType instance based on an ID value from an MPP9 or MPP12 file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldTypeUtility

public FieldTypeUtility()
Method Detail

getInstanceUnmapped

public static final FieldType getInstanceUnmapped(int fieldID)
Retrieve a FieldType instance based on an ID value from an MPP9 or MPP12 file.

Parameters:
fieldID - field ID
Returns:
FieldType instance

getInstance

public static final FieldType getInstance(int fieldID)
Retrieve a FieldType instance based on an ID value from an MPP9 or MPP12 file.

Parameters:
fieldID - field ID
Returns:
FieldType instance

getInstance14Unmapped

public static final FieldType getInstance14Unmapped(int fieldID)
Retrieve a FieldType instance based on an ID value from an MPP14 field, without any additional mapping.

Parameters:
fieldID - field ID
Returns:
FieldType instance

getInstance14

public static final FieldType getInstance14(int fieldID)
Retrieve a FieldType instance based on an ID value from an MPP14 field, mapping the START_TEXT, FINISH_TEXT, and DURATION_TEXT values to START, FINISH, and DURATION respectively.

Parameters:
fieldID - field ID
Returns:
FieldType instance


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