Primavera Integration API Release 8

com.primavera.integration.client.bo.enm
Class DayOfWeekType

java.lang.Object
  extended by com.primavera.integration.client.bo.enm.EnumType
      extended by com.primavera.integration.client.bo.enm.DayOfWeekType

public class DayOfWeekType
extends EnumType

Day of week types are used with global preferences. Valid values are: 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday' and 'Saturday'.

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
static DayOfWeekType DOW_FRIDAY
           
static DayOfWeekType DOW_MONDAY
           
static DayOfWeekType DOW_SATURDAY
           
static DayOfWeekType DOW_SUNDAY
           
static DayOfWeekType DOW_THURSDAY
           
static DayOfWeekType DOW_TUESDAY
           
static DayOfWeekType DOW_WEDNESDAY
           
static DayOfWeekType NULL
           
 
Method Summary
static DayOfWeekType getDayOfWeekType(int iDayOfWeekType)
          Gets an instance of DayOfWeekType based on the integer value specified.
static DayOfWeekType getDayOfWeekType(String sDayOfWeekType)
          Gets an instance of DayOfWeekType based on the String value specified.
 String getDescription()
          Gets the description of this DayOfWeekType instance
static String[] getEnumDescriptions()
          Gets an array of all descriptions for this enumeration
static String[] getEnumValues()
          Gets an array of all internal values for this enumeration
 String getValue()
          Gets the internal value of this DayOfWeekType instance
 String toString()
          Returns a string representation of the object, which is the same as the description returned by the getDescription() method
 
Methods inherited from class com.primavera.integration.client.bo.enm.EnumType
equals, hashCode, intValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NULL

public static final DayOfWeekType NULL

DOW_SUNDAY

public static final DayOfWeekType DOW_SUNDAY

DOW_MONDAY

public static final DayOfWeekType DOW_MONDAY

DOW_TUESDAY

public static final DayOfWeekType DOW_TUESDAY

DOW_WEDNESDAY

public static final DayOfWeekType DOW_WEDNESDAY

DOW_THURSDAY

public static final DayOfWeekType DOW_THURSDAY

DOW_FRIDAY

public static final DayOfWeekType DOW_FRIDAY

DOW_SATURDAY

public static final DayOfWeekType DOW_SATURDAY
Method Detail

toString

public String toString()
Returns a string representation of the object, which is the same as the description returned by the getDescription() method

Overrides:
toString in class Object
Returns:
String a string representation of the object

getValue

public String getValue()
Gets the internal value of this DayOfWeekType instance

Specified by:
getValue in class EnumType
Returns:
String the internal value

getDescription

public String getDescription()
Gets the description of this DayOfWeekType instance

Specified by:
getDescription in class EnumType
Returns:
String the description

getDayOfWeekType

public static DayOfWeekType getDayOfWeekType(String sDayOfWeekType)
Gets an instance of DayOfWeekType based on the String value specified.

Parameters:
sDayOfWeekType - the internal value or description
Returns:
DayOfWeekType the unique DayOfWeekType instance

getDayOfWeekType

public static DayOfWeekType getDayOfWeekType(int iDayOfWeekType)
Gets an instance of DayOfWeekType based on the integer value specified.

Parameters:
iDayOfWeekType - an integer representing a particular value of this class. This value is also used when exporting to XML.
Returns:
DayOfWeekType the unique DayOfWeekType instance

getEnumValues

public static String[] getEnumValues()
Gets an array of all internal values for this enumeration

Returns:
String[] an array of all internal values

getEnumDescriptions

public static String[] getEnumDescriptions()
Gets an array of all descriptions for this enumeration

Returns:
String[] an array of all descriptions

Primavera Integration API Release 8

Copyright © 2003, 2010, Oracle and/or its affiliates. All rights reserved.