com.filenet.api.constants
Class Weekday
- java.lang.Object
-
- com.filenet.api.constants.Weekday
-
- All Implemented Interfaces:
- java.io.Serializable
public final class Weekday extends java.lang.Object implements java.io.Serializable
Provides constants used to set the Weekday property of aCmTimeslot
object. The Weekday property specifies the day of the week that the audit disposition thread will run, as defined in aCmAuditingConfiguration
object.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static Weekday
FRIDAY
Indicates Friday.static int
FRIDAY_AS_INT
Anint
value associated with the FRIDAY instance of this class.static Weekday
MONDAY
Indicates Monday.static int
MONDAY_AS_INT
Anint
value associated with the MONDAY instance of this class.static Weekday
SATURDAY
Indicates Saturday.static int
SATURDAY_AS_INT
Anint
value associated with the SATURDAY instance of this class.static Weekday
SUNDAY
Indicates Sunday.static int
SUNDAY_AS_INT
Anint
value associated with the SUNDAY instance of this class.static Weekday
THURSDAY
Indicates Thursday.static int
THURSDAY_AS_INT
Anint
value associated with the THURSDAY instance of this class.static Weekday
TUESDAY
Indicates Tuesday.static int
TUESDAY_AS_INT
Anint
value associated with the TUESDAY instance of this class.static Weekday
WEDNESDAY
Indicates Wednesday.static int
WEDNESDAY_AS_INT
Anint
value associated with the WEDNESDAY instance of this class.
-
Method Summary
Methods Modifier and Type Method and Description static Weekday
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.int
getValue()
Returns the internal integer value associated with a specific instance of this class.java.lang.String
toString()
Returns aString
representation of this enumeration instance.
-
-
-
Field Detail
-
SUNDAY_AS_INT
public static final int SUNDAY_AS_INT
Anint
value associated with the SUNDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
SUNDAY
public static final Weekday SUNDAY
Indicates Sunday.
-
THURSDAY_AS_INT
public static final int THURSDAY_AS_INT
Anint
value associated with the THURSDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
THURSDAY
public static final Weekday THURSDAY
Indicates Thursday.
-
WEDNESDAY_AS_INT
public static final int WEDNESDAY_AS_INT
Anint
value associated with the WEDNESDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
WEDNESDAY
public static final Weekday WEDNESDAY
Indicates Wednesday.
-
MONDAY_AS_INT
public static final int MONDAY_AS_INT
Anint
value associated with the MONDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
MONDAY
public static final Weekday MONDAY
Indicates Monday.
-
FRIDAY_AS_INT
public static final int FRIDAY_AS_INT
Anint
value associated with the FRIDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
FRIDAY
public static final Weekday FRIDAY
Indicates Friday.
-
SATURDAY_AS_INT
public static final int SATURDAY_AS_INT
Anint
value associated with the SATURDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
SATURDAY
public static final Weekday SATURDAY
Indicates Saturday.
-
TUESDAY_AS_INT
public static final int TUESDAY_AS_INT
Anint
value associated with the TUESDAY instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.- See Also:
- Constant Field Values
-
TUESDAY
public static final Weekday TUESDAY
Indicates Tuesday.
-
-
Method Detail
-
getValue
public int getValue()
Returns the internal integer value associated with a specific instance of this class.- Returns:
- The enumeration instance's ordinal value.
- See Also:
getInstanceFromInt(int)
-
toString
public java.lang.String toString()
Returns aString
representation of this enumeration instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
- The enumeration instance's description.
-
getInstanceFromInt
public static Weekday getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value.- Parameters:
value
- The integer value. (See the *_AS_INT fields.)- Returns:
- The enumeration instance with the given ordinal value.
- Throws:
EngineRuntimeException
- If an enumeration instance with the given ordinal value does not exist.- See Also:
getValue()
-
-