Class UDFDataType
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.UDFDataType
UDF data type enumerations are used with UDFTypes to indicate the data type: 'Text', 'Start Date',
'Finish Date', 'Cost', 'Double', 'Integer', 'Indicator', or 'Code'. Code data types are only used
with Project Issues.
To use an enumeration in a where clause, make sure you use the internal database value. This can be retrieved from a particular enum instance by calling getValue().
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataTypestatic final UDFDataType -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this UDFDataType instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic UDFDataTypegetUDFDataType(int iUDFDataType) Gets an instance of UDFDataType based on the integer value specified.static UDFDataTypegetUDFDataType(String sUDFDataType) Gets an instance of UDFDataType based on the String value specified.getValue()Gets the internal value of this UDFDataType instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
TEXT
-
START_DATE
-
FINISH_DATE
-
COST
-
DOUBLE
-
INTEGER
-
INDICATOR
-
CODE
-
-
Method Details
-
toString
Returns a string representation of the object, which is the same as the description returned by the getDescription() method -
getValue
Gets the internal value of this UDFDataType instance -
getDescription
Gets the description of this UDFDataType instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getUDFDataType
Gets an instance of UDFDataType based on the String value specified.- Parameters:
sUDFDataType- the internal value or description- Returns:
- UDFDataType the unique UDFDataType instance
-
getUDFDataType
Gets an instance of UDFDataType based on the integer value specified.- Parameters:
iUDFDataType- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- UDFDataType the unique UDFDataType instance
-
getEnumValues
Gets an array of all internal values for this enumeration- Returns:
- String[] an array of all internal values
-
getEnumDescriptions
Gets an array of all descriptions for this enumeration- Returns:
- String[] an array of all descriptions
-