public final class FieldTypeHelper extends Object
| Constructor and Description |
|---|
FieldTypeHelper() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getFieldID(FieldType type)
Retrieve an MPP9/MPP12 field ID based on an MPXJ FieldType instance.
|
static FieldType |
getInstance(ProjectFile project,
int fieldID)
Retrieve a FieldType instance based on an ID value from
an MPP9, MPP12 or MPP14 file.
|
static FieldType |
getInstance(ProjectFile project,
int fieldID,
DataType customFieldDataType)
Retrieve a FieldType instance based on an ID value from
an MPP9, MPP12 or MPP14 file.
|
static FieldType |
mapTextFields(FieldType field)
In some circumstances MS Project refers to the text version of a field (e.g.
|
static boolean |
valueIsNotDefault(FieldType type,
Object value)
Determines if this value is the default value for the given field type.
|
public static int getFieldID(FieldType type)
type - FieldType instancepublic static final FieldType getInstance(ProjectFile project, int fieldID)
project - parent projectfieldID - field IDpublic static final FieldType getInstance(ProjectFile project, int fieldID, DataType customFieldDataType)
project - parent projectfieldID - field IDcustomFieldDataType - custom field data typepublic static FieldType mapTextFields(FieldType field)
field - field to mappedCopyright © 2000–2025 MPXJ. All rights reserved.