Enterprise Information Portal APIs

com.ibm.mm.beans.workflow
Class CMBWorkFlow

java.lang.Object
  |
  +--com.ibm.mm.beans.workflow.CMBWorkFlow
All Implemented Interfaces:
java.io.Serializable

public class CMBWorkFlow
extends java.lang.Object
implements java.io.Serializable

This class represents a workflow.

See Also:
CMBWorkFlowQueryService, Serialized Form

Constructor Summary
CMBWorkFlow()
          Default constructor
 
Method Summary
 java.lang.String getDescription()
          Gets description
 java.lang.String getEndTime()
          Gets end time.
 CMBWorkFlowContainer getInContainer()
          Gets inContainer
 java.lang.String getModifiedTime()
          Gets the last modification time of the workflow.
 java.lang.String getName()
          Gets workflow name.
 java.lang.String getNotificationTime()
          Gets notification time
 java.lang.String getStartTime()
          Gets the start time of this workflow.
 int getState()
          Gets the state of this workflow.
 java.lang.String getStateChangedTime()
          Gets the state change time of this workflow.
 java.lang.String getSuspendTime()
          Gets the SuspendTime of this workflow.
 java.lang.String getWorkFlowTemplateName()
          Gets the workflow template name that is associated with this workflow
 void setDescription(java.lang.String description)
          Sets description
 void setEndTime(java.lang.String endTime)
          Sets end time.
 void setInContainer(CMBWorkFlowContainer inContainer)
          Sets inContainer
 void setModifiedTime(java.lang.String modifiedTime)
          Sets the last modification time of this workflow.
 void setName(java.lang.String name)
          Sets workflow name
 void setNotificationTime(java.lang.String notificationTime)
          Sets notification time.
 void setStartTime(java.lang.String startTime)
          Sets the start time of this workflow.
 void setState(int state)
          Sets the state of this workflow
 void setStateChangedTime(java.lang.String stateChangedTime)
          Sets the state change time of this workflow .
 void setSuspendTime(java.lang.String suspendTime)
          Sets the suspension time of this workflow.
 void setWorkFlowTemplateName(java.lang.String workFlowTemplateName)
          Sets the workflow template name that is associated with this workflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMBWorkFlow

public CMBWorkFlow()
Default constructor
Method Detail

getName

public java.lang.String getName()
Gets workflow name.
Returns:
workflow name - a null is returned if name is not set

setName

public void setName(java.lang.String name)
Sets workflow name
Parameters:
name - workflow name

setDescription

public void setDescription(java.lang.String description)
Sets description
Parameters:
description - the description of this workflow

getInContainer

public CMBWorkFlowContainer getInContainer()
Gets inContainer
Returns:
inContainer - a null is returned if inContainer is not set

setInContainer

public void setInContainer(CMBWorkFlowContainer inContainer)
Sets inContainer
Parameters:
inContainer - the inContainer of this workflow

getDescription

public java.lang.String getDescription()
Gets description
Returns:
description - a null is returned if description is not set

setEndTime

public void setEndTime(java.lang.String endTime)
Sets end time.
Parameters:
endTime - the end time of this workflow. End time must be in military time and format: yyyy-mo-dd-hh.mi.ss

getEndTime

public java.lang.String getEndTime()
Gets end time. The end time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss
Returns:
endTime - a null is returned if the endTime is not set

getNotificationTime

public java.lang.String getNotificationTime()
Gets notification time
Returns:
notificationTime - a null is returned if the notificationTime is not set. Notification time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss

setNotificationTime

public void setNotificationTime(java.lang.String notificationTime)
Sets notification time.
Parameters:
notificationTime - the notification time of this workflow Notification time must be in military time and format: yyyy-mo-dd-hh.mi.ss

getWorkFlowTemplateName

public java.lang.String getWorkFlowTemplateName()
Gets the workflow template name that is associated with this workflow
Returns:
workflowTemplateName - a null is returned if workflow template name is not set

setWorkFlowTemplateName

public void setWorkFlowTemplateName(java.lang.String workFlowTemplateName)
Sets the workflow template name that is associated with this workflow
Parameters:
workflowTemplateName - the work flow template name for this workflow

getStateChangedTime

public java.lang.String getStateChangedTime()
Gets the state change time of this workflow. The state changed time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss
Returns:
stateChangedTime - a null is returned if the stateChangedTime is not set

setStateChangedTime

public void setStateChangedTime(java.lang.String stateChangedTime)
Sets the state change time of this workflow . The state change time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
stateChangedTime - the state changed time of this workflow

getStartTime

public java.lang.String getStartTime()
Gets the start time of this workflow. The start time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss
Returns:
startTime - a null is returned if startTime is not set

setStartTime

public void setStartTime(java.lang.String startTime)
Sets the start time of this workflow. Start time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
startTime - a null is returned if the startTime is not set

getSuspendTime

public java.lang.String getSuspendTime()
Gets the SuspendTime of this workflow. Suspend time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss
Returns:
suspendTime a null is returned if the suspendTime is not set

setSuspendTime

public void setSuspendTime(java.lang.String suspendTime)
Sets the suspension time of this workflow. Suspend time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
suspendTime - the suspend time of this workFLow

getModifiedTime

public java.lang.String getModifiedTime()
Gets the last modification time of the workflow. Modified time is returned as a String in military time, format: yyyy-mo-dd-hh.mi.ss
Returns:
modifiedTime a null is returned if the modifiedTime is not set

setModifiedTime

public void setModifiedTime(java.lang.String modifiedTime)
Sets the last modification time of this workflow. Modifed time must be in military time and format: yyyy-mo-dd-hh.mi.ss
Parameters:
modifiedTime - the last modification time of this workFLow

getState

public int getState()
Gets the state of this workflow. The state can be in one of the following: CMB_WF_NOTSET CMB_WF_READY CMB_WF_RUNNING CMB_WF_FINISHED CMB_WF_TERMINATED CMB_WF_SUSPENDED CMB_WF_TERMINATING CMB_WF_SUSPENDING CMB_WF_DELETED
Returns:
the state of this workflow

setState

public void setState(int state)
Sets the state of this workflow
Parameters:
state - of this workflow

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.