Class TimesheetPeriodType
java.lang.Object
com.primavera.integration.client.bo.enm.EnumType
com.primavera.integration.client.bo.enm.TimesheetPeriodType
Time sheet period types are used in
GlobalPreferences for the time sheet
application. Valid values are: 'Every Week', 'Every Two Weeks', 'Every Four Weeks' and 'Every
Month'.
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 TimesheetPeriodTypestatic final TimesheetPeriodTypestatic final TimesheetPeriodTypestatic final TimesheetPeriodTypestatic final TimesheetPeriodType -
Method Summary
Modifier and TypeMethodDescriptionGets the description of this TimesheetPeriodType instancestatic String[]Gets an array of all descriptions for this enumerationstatic String[]Gets an array of all internal values for this enumerationstatic TimesheetPeriodTypegetTimesheetPeriodType(int iTimesheetPeriodType) Gets an instance of TimesheetPeriodType based on the integer value specified.static TimesheetPeriodTypegetTimesheetPeriodType(String sTimesheetPeriodType) Gets an instance of TimesheetPeriodType based on the String value specified.getValue()Gets the internal value of this TimesheetPeriodType instancetoString()Returns a string representation of the object, which is the same as the description returned by the getDescription() method
-
Field Details
-
NULL
-
EVERY_WEEK
-
EVERY_TWO_WEEKS
-
EVERY_FOUR_WEEKS
-
EVERY_MONTH
-
-
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 TimesheetPeriodType instance -
getDescription
Gets the description of this TimesheetPeriodType instance- Specified by:
getDescriptionin classEnumType- Returns:
- String the description
-
getTimesheetPeriodType
Gets an instance of TimesheetPeriodType based on the String value specified.- Parameters:
sTimesheetPeriodType- the internal value or description- Returns:
- TimesheetPeriodType the unique TimesheetPeriodType instance
-
getTimesheetPeriodType
Gets an instance of TimesheetPeriodType based on the integer value specified.- Parameters:
iTimesheetPeriodType- an integer representing a particular value of this class. This value is also used when exporting to XML.- Returns:
- TimesheetPeriodType the unique TimesheetPeriodType 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
-