|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.engine.WfDueDate
This class is to be used for variable modification of a process' or activity's
deadline Date. If the deadline duration is set in the workflow template's
deadline tab, that value will be used to calculate the date to use as
the default to populate this variable. If this variable's default value
is set in the workflow variable tab, that value will be used. This variable's
default value is NULL.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private ResourceBundle |
date_bundle
|
private String[] |
date_formats
|
private Date |
deadline
|
static long |
EXTERNALIZATION_VERSION_UID
|
private Locale |
locale
|
static long |
MILLIS_IN_DAY
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private TimeZone |
tz
|
Constructor Summary | |
WfDueDate()
Creates a WfDueDate - no arg contructor. |
|
WfDueDate(Date hard_date)
Creates a WfDueDate with the deadline specified. |
|
WfDueDate(long timestamp)
Creates a WfDueDate with the deadline date specified as a long. |
|
WfDueDate(String s)
Creates a WfDueDate with the deadline date specified as a string. |
Method Summary | |
private long |
clean_long_value(long i)
|
private long |
clean_string_value(String s)
|
WfDueDate |
copy()
|
String |
debugOutput()
|
Date |
getDeadline()
Gets the value of the attribute: deadline; specific date the workflow object is due. |
private void |
initialize()
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WfDueDate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setDeadline(Date a_Deadline)
Sets the value of the attribute: deadline; specific date the workflow object is due. |
String |
toString()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private Date deadline
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
public static final long MILLIS_IN_DAY
private ResourceBundle date_bundle
private String[] date_formats
private Locale locale
private TimeZone tz
Constructor Detail |
public WfDueDate()
public WfDueDate(Date hard_date)
hard_date
- The actual calendar date for which the deadline should be set.public WfDueDate(String s)
s
- The actual calendar date for which the deadline should be set.public WfDueDate(long timestamp)
timestamp
- The actual calendar date for which the deadline should be set.Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WfDueDate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public Date getDeadline()
public void setDeadline(Date a_Deadline) throws WTPropertyVetoException
a_Deadline
-
WTPropertyVetoException
public String toString()
public String debugOutput()
private long clean_long_value(long i)
private long clean_string_value(String s)
public WfDueDate copy()
private void initialize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |