Process Class Relationships

filenet.vw.api
Class VWMilestoneElement

java.lang.Object
  |
  +--filenet.vw.api.VWMilestoneElement
All Implemented Interfaces:
IVWtoXML

public final class VWMilestoneElement
extends java.lang.Object
implements IVWtoXML

Use this class to encapsulate a milestone log record. VWProcess.fetchFilteredWorkflowMilestones creates an object of the VWWorkflowMilestones class, so that you can get VWMilestoneElement items (objects) from it with the next() method.

A VWMilestoneElement is built from a VWLogElement, specifically for a milestone event. It only accesses log element information related to milestone events.

Since:
VWWS4.20
See Also:
VWProcess.fetchFilteredWorkflowMilestones(int, boolean, boolean), VWWorkflowMilestones, VWMilestoneDefinition, VWLogElement

Method Summary
 int getInstructionSheetId()
          Gets the instruction sheet id of the instruction sheet where the milestone event occurred.
 java.lang.String getInstructionSheetName()
          Gets the instruction sheet name of the instruction sheet where the milestone event occurred.
 int getLevel()
          Gets the level of the milestone.
 VWLogElement getLogElement()
          Gets the VWLogElement object from which this VWMilestoneElement was originally constructed.
 java.lang.String getMessage()
          Gets the message logged for this milestone event.
 int getMilestoneId()
          Gets the milestone id of the milestone.
 java.lang.String getName()
          Gets the milestone name of the milestone definition for this milestone event.
 int getStepId()
          Gets the step id of the step where the milestone event occurred.
 java.util.Date getTimestamp()
          Gets the timestamp of the milestone event, according to the time at which the milestone event was logged.
 java.lang.String toString()
          Gets a string version of the milestone, displaying several of its properties: id, name, level, step, instruction sheet name, timestamp, and message.
 void toXML(java.lang.StringBuffer theBuffer)
          Appends an XML string that represents this VWMilestoneElement object to the buffer specified by the input parameter.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getMilestoneId

public int getMilestoneId()
Gets the milestone id of the milestone.
Returns:
An integer value that is the milestone id of the milestone which caused this event to be logged in the event log.

getLevel

public int getLevel()
Gets the level of the milestone.
Returns:
An integer value that is the level of the milestone which caused this event to be logged in the event log.

getStepId

public int getStepId()
Gets the step id of the step where the milestone event occurred.
Returns:
An integer value that is the step id of the step where the milestone event occurred.

getName

public java.lang.String getName()
Gets the milestone name of the milestone definition for this milestone event.
Returns:
The milestone name.

getInstructionSheetId

public int getInstructionSheetId()
Gets the instruction sheet id of the instruction sheet where the milestone event occurred.
Returns:
An integer value that is the instruction sheet id of the instruction sheet where the milestone event occurred.

getInstructionSheetName

public java.lang.String getInstructionSheetName()
Gets the instruction sheet name of the instruction sheet where the milestone event occurred.
Returns:
The instruction sheet name of the instruction sheet where the milestone event occurred.

getTimestamp

public java.util.Date getTimestamp()
Gets the timestamp of the milestone event, according to the time at which the milestone event was logged.
Returns:
A date type containing the timestamp of the milestone event.

getMessage

public java.lang.String getMessage()
Gets the message logged for this milestone event.
Returns:
The message logged for this milestone event. Valid return values include null.

getLogElement

public VWLogElement getLogElement()
Gets the VWLogElement object from which this VWMilestoneElement was originally constructed.
Returns:
A VWLogElement object from which this VWMilestoneElement was originally constructed.

toString

public java.lang.String toString()
Gets a string version of the milestone, displaying several of its properties: id, name, level, step, instruction sheet name, timestamp, and message.
Overrides:
toString in class java.lang.Object
Returns:
A string representation of the milestone.

toXML

public void toXML(java.lang.StringBuffer theBuffer)
           throws VWException
Appends an XML string that represents this VWMilestoneElement object to the buffer specified by the input parameter.
Specified by:
toXML in interface IVWtoXML
Parameters:
theBuffer - A string buffer that this method will append with XML content.
Throws:
VWException -  
See Also:
VWXMLUtil

Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.