|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.fc.WTObject
wt.scheduler.ScheduleHistory
This is the history of method invocations of the schedule item.
Use the newScheduleHistory
static factory method(s), not
the ScheduleHistory
constructor, to construct instances
of this class. Instances must be constructed using the static factory(s),
in order to ensure proper initialization of the instance.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static String |
COMPLETION_TIME
Label for the attribute; Timestamp of when processing was completed. |
private Timestamp |
completionTime
|
static String |
EXECUTION_START_TIME
Label for the attribute; Timestamp of when processing was begun. |
private Timestamp |
executionStartTime
|
static long |
EXTERNALIZATION_VERSION_UID
|
static String |
INSTANCE_STATUS
Label for the attribute; Reports the status of the scheduled operation. |
private SchedStatusInfo |
instanceStatus
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
static String |
SCHEDULE_ITEM
Label for the attribute. |
static String |
SCHEDULE_ITEM_REFERENCE
Label for the attribute. |
(package private) static long |
serialVersionUID
|
static String |
SUBMISSION_TIME
Label for the attribute; Timestamp of when job was posted to the queue. |
private Timestamp |
submissionTime
|
private ObjectReference |
theScheduleItemReference
|
Fields inherited from class wt.fc.WTObject |
CREATE_TIMESTAMP, MODIFY_TIMESTAMP |
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Fields inherited from interface wt.identity.DisplayIdentification |
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE |
Constructor Summary | |
ScheduleHistory()
|
Method Summary | |
boolean |
equals(Object obj)
Indicates whether the given object is equal to this object from a persistence perspective, by comparing the two objects ObjectIdentifier s. |
static void |
execScheduled(Serializable eventTarget,
Serializable[] invokationDesc)
Supported API: false |
Timestamp |
getCompletionTime()
Gets the value of the attribute: COMPLETION_TIME. |
String |
getConceptualClassname()
Deprecated. |
Timestamp |
getExecutionStartTime()
Gets the value of the attribute: EXECUTION_START_TIME. |
SchedStatusInfo |
getInstanceStatus()
Gets the value of the attribute: INSTANCE_STATUS. |
ScheduleItem |
getScheduleItem()
Gets the object for the association that plays role: SCHEDULE_ITEM. |
ObjectReference |
getScheduleItemReference()
Gets the value of the attribute: SCHEDULE_ITEM_REFERENCE. |
WTMessage |
getStatusMessage()
Supported API: false |
Timestamp |
getSubmissionTime()
Gets the value of the attribute: SUBMISSION_TIME. |
int |
hashCode()
Returns a hash code for this object based upon its ObjectIdentifier . |
static ScheduleHistory |
newScheduleHistory()
Default factory for the class. |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
void |
readExternal(PersistentRetrieveIfc input)
Used by Persistent Data Service to populate the persistent attributes of this class from a persistent store. |
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(ScheduleHistory thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
void |
setCompletionTime(Timestamp a_CompletionTime)
Sets the value of the attribute: COMPLETION_TIME. |
void |
setExecutionStartTime(Timestamp a_ExecutionStartTime)
Sets the value of the attribute: EXECUTION_START_TIME. |
void |
setInstanceStatus(SchedStatusInfo a_InstanceStatus)
Sets the value of the attribute: INSTANCE_STATUS. |
void |
setScheduleItem(ScheduleItem a_ScheduleItem)
Sets the object for the association that plays role: SCHEDULE_ITEM. |
void |
setScheduleItemReference(ObjectReference a_ScheduleItemReference)
Sets the value of the attribute: SCHEDULE_ITEM_REFERENCE. |
void |
setSubmissionTime(Timestamp a_SubmissionTime)
Sets the value of the attribute: SUBMISSION_TIME. |
String |
toString()
Supported API: false |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
void |
writeExternal(PersistentStoreIfc output)
Used by Persistent Data Service to obtain the values of the persistent attributes of this class, so they can be written to a persistent store. |
Methods inherited from class wt.fc.WTObject |
checkAttributes, duplicate, finalize, getClassInfo, getCreateTimestamp, getDisplayIdentifier, getDisplayIdentity, getDisplayType, getIdentity, getModifyTimestamp, getPersistInfo, getType, initialize, readVersion, setPersistInfo |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
public static final String INSTANCE_STATUS
private SchedStatusInfo instanceStatus
public static final String SUBMISSION_TIME
private Timestamp submissionTime
public static final String COMPLETION_TIME
private Timestamp completionTime
public static final String EXECUTION_START_TIME
private Timestamp executionStartTime
public static final String SCHEDULE_ITEM
public static final String SCHEDULE_ITEM_REFERENCE
private ObjectReference theScheduleItemReference
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
Constructor Detail |
public ScheduleHistory()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class WTObject
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class WTObject
input
-
IOException
ClassNotFoundException
protected boolean readVersion(ScheduleHistory 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 void writeExternal(PersistentStoreIfc output) throws SQLException, DatastoreException
(Not intended for general use.)
Supported API: false
writeExternal
in interface ObjectMappable
writeExternal
in class WTObject
output
-
SQLException
DatastoreException
public void readExternal(PersistentRetrieveIfc input) throws SQLException, DatastoreException
(Not intended for general
use.)
Supported API: false
readExternal
in interface ObjectMappable
readExternal
in class WTObject
input
-
SQLException
DatastoreException
public String getConceptualClassname()
getConceptualClassname
in interface NetFactor
public SchedStatusInfo getInstanceStatus()
public void setInstanceStatus(SchedStatusInfo a_InstanceStatus)
a_InstanceStatus
- public Timestamp getSubmissionTime()
public void setSubmissionTime(Timestamp a_SubmissionTime)
a_SubmissionTime
- public Timestamp getCompletionTime()
public void setCompletionTime(Timestamp a_CompletionTime)
a_CompletionTime
- public Timestamp getExecutionStartTime()
public void setExecutionStartTime(Timestamp a_ExecutionStartTime)
a_ExecutionStartTime
- public ScheduleItem getScheduleItem()
public void setScheduleItem(ScheduleItem a_ScheduleItem) throws WTException
a_ScheduleItem
-
WTException
public ObjectReference getScheduleItemReference()
public void setScheduleItemReference(ObjectReference a_ScheduleItemReference)
a_ScheduleItemReference
- public String toString()
toString
in class WTObject
public static void execScheduled(Serializable eventTarget, Serializable[] invokationDesc)
eventTarget
- invokationDesc
- public WTMessage getStatusMessage()
public static ScheduleHistory newScheduleHistory() throws WTException
WTException
public boolean equals(Object obj)
ObjectIdentifier
s.
Changed or stale copies are still considered equal by this method.
Delegates to PersistenceHelper.equals(Persistable,Object)
.
Warning: Certain core Windchill operations may depend upon
equals
being ObjectIdentifier
-based. Changes
to the default implementation should be done with care, if at all.
Supported API: false
equals
in class WTObject
obj
-
public int hashCode()
ObjectIdentifier
.
Delegates to PersistenceHelper.hashCode(Persistable)
.
Warning: Certain core Windchill operations may depend upon
hashCode
being ObjectIdentifier-based
. Changes
to the default implementation should be done with care, if at all.
Supported API: false
hashCode
in class WTObject
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |