public enum CustomFieldValueDataType extends Enum<CustomFieldValueDataType> implements MpxjEnum
Enum Constant and Description |
---|
COST |
DATE |
DURATION |
FINISH_DATE |
FLAG |
NUMBER |
TEXT |
Modifier and Type | Method and Description |
---|---|
DataType |
getDataType()
Retrieve the MPXJ data type.
|
static CustomFieldValueDataType |
getInstance(int type)
Retrieve an instance of the enum based on its int value.
|
static CustomFieldValueDataType |
getInstanceByMaskValue(int type)
Retrieve an instance of the enum based on its mask value.
|
int |
getMaskValue()
Retrieve the mask value.
|
int |
getValue()
Accessor method used to retrieve the numeric representation of the enum.
|
static CustomFieldValueDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomFieldValueDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomFieldValueDataType DATE
public static final CustomFieldValueDataType DURATION
public static final CustomFieldValueDataType COST
public static final CustomFieldValueDataType NUMBER
public static final CustomFieldValueDataType FLAG
public static final CustomFieldValueDataType TEXT
public static final CustomFieldValueDataType FINISH_DATE
public static CustomFieldValueDataType[] values()
for (CustomFieldValueDataType c : CustomFieldValueDataType.values()) System.out.println(c);
public static CustomFieldValueDataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CustomFieldValueDataType getInstance(int type)
type
- int typepublic static CustomFieldValueDataType getInstanceByMaskValue(int type)
type
- mask valuepublic int getValue()
public DataType getDataType()
public int getMaskValue()
Copyright © 2000–2024 Packwood Software. All rights reserved.